:root {

    --primary: #155eef;
    --primary-dark: #1049bd;

    --navy: #0b1b36;

    --text: #172033;

    --muted: #687386;

    --light-text: #919aaa;

    --border: #e3e8f0;

    --background: #f6f8fc;

    --white: #ffffff;

    --green: #16a34a;

    --green-bg: #eaf8ef;

}


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    margin: 0;

    font-family:
        "Vazirmatn",
        Tahoma,
        Arial,
        sans-serif;

    background:
        var(--background);

    color:
        var(--text);

    line-height:
        1.8;

}


a {

    text-decoration: none;

    color: inherit;

}


button,
input {

    font-family: inherit;

}


.container {

    width:
        min(1180px, calc(100% - 40px));

    margin:
        0 auto;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position:
        relative;

    overflow:
        hidden;

    padding:
        65px 0 48px;

    background:

        radial-gradient(
            circle at 85% 10%,
            rgba(37,99,235,.14),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #ffffff 0%,
            #eef4ff 100%
        );

    border-bottom:
        1px solid #e5ebf3;

}


.hero-decoration {

    position:
        absolute;

    border-radius:
        50%;

    pointer-events:
        none;

}


.hero-decoration-one {

    width:
        400px;

    height:
        400px;

    left:
        -230px;

    bottom:
        -280px;

    background:
        rgba(99,102,241,.06);

}


.hero-decoration-two {

    width:
        250px;

    height:
        250px;

    right:
        -140px;

    top:
        100px;

    border:
        1px solid rgba(37,99,235,.08);

}


.hero-content {

    position:
        relative;

    z-index:
        2;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        28px;

    text-align:
        center;

}


.hero-logo {

    width:
        92px;

    height:
        92px;

    flex:
        0 0 92px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        9px;

    background:
        #ffffff;

    border:
        1px solid #dfe6ef;

    border-radius:
        24px;

    box-shadow:
        0 15px 40px
        rgba(15,23,42,.09);

}


.hero-logo img {

    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        contain;

}


.fallback-logo {

    width:
        64px;

    height:
        64px;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        18px;

    background:
        linear-gradient(
            135deg,
            #155eef,
            #673ab7
        );

    color:
        white;

    font-size:
        18px;

    font-weight:
        800;

}


.eyebrow {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    padding:
        5px 13px;

    margin-bottom:
        12px;

    border-radius:
        30px;

    background:
        #eaf2ff;

    color:
        var(--primary);

    font-size:
        10px;

    font-weight:
        700;

}


.eyebrow-dot {

    width:
        7px;

    height:
        7px;

    border-radius:
        50%;

    background:
        #22c55e;

    box-shadow:
        0 0 0 4px
        rgba(34,197,94,.10);

}


.hero h1 {

    max-width:
        850px;

    margin:
        0;

    color:
        var(--navy);

    font-size:
        clamp(30px, 4vw, 47px);

    line-height:
        1.5;

    font-weight:
        800;

    letter-spacing:
        -.8px;

}


.hero h2 span {

    color:
        var(--primary);

}


.hero-text p {

    max-width:
        700px;

    margin:
        10px auto 0;

    color:
        var(--muted);

    font-size:
        13px;

}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {

    position:
        relative;

    z-index:
        2;

    display:
        flex;

    justify-content:
        center;

    width:
        min(700px, 100%);

    margin:
        35px auto 0;

    background:
        rgba(255,255,255,.82);

    border:
        1px solid #e1e7ef;

    border-radius:
        17px;

    overflow:
        hidden;

    box-shadow:
        0 12px 35px
        rgba(15,23,42,.05);

    backdrop-filter:
        blur(10px);

}


.hero-stat {

    flex:
        1;

    padding:
        13px 20px;

    text-align:
        center;

    border-left:
        1px solid #edf1f5;

}


.hero-stat:last-child {

    border-left:
        0;

}


.hero-stat strong {

    display:
        block;

    color:
        var(--navy);

    font-size:
        18px;

    line-height:
        1.5;

}


.hero-stat span {

    display:
        block;

    color:
        #8993a3;

    font-size:
        9px;

}


/* =========================================================
   CONFERENCES SECTION
========================================================= */

.conferences {

    padding:
        70px 0 90px;

}


.section-title {

    text-align:
        center;

    margin-bottom:
        40px;

}


.section-label {

    color:
        var(--primary);

    font-size:
        10px;

    letter-spacing:
        2px;

    font-weight:
        800;

}


.section-title h2 {

    margin:
        5px 0;

    color:
        var(--navy);

    font-size:
        30px;

    line-height:
        1.6;

}


.section-title p {

    color:
        var(--muted);

    font-size:
        12px;

}


/* =========================================================
   GRID
========================================================= */

.conference-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        26px;

}


/* =========================================================
   CARD
========================================================= */

.conference-card {

    overflow:
        hidden;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        22px;

    box-shadow:
        0 8px 30px
        rgba(15,23,42,.045);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}


.conference-card:hover {

    transform:
        translateY(-5px);

    border-color:
        #c8d8f2;

    box-shadow:
        0 22px 50px
        rgba(15,23,42,.10);

}


/* =========================================================
   POSTER
========================================================= */

/*
   نسبت A4 عمودی:
   210 / 297 = 0.707

   بنابراین ارتفاع بخش پوستر نسبت به عرض
   به صورت A4 تنظیم می‌شود.
*/

.poster {

    position:
        relative;

    width:
        100%;

    aspect-ratio:
        210 / 297;

    min-height:
        500px;

    max-height:
        650px;

    overflow:
        hidden;

    background:
        #eef2f7;

    border-bottom:
        1px solid #edf0f4;

}


.poster-link {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        100%;

    height:
        100%;

}


.poster img {

    display:
        block;

    width:
        100%;

    height:
        100%;

    /*
       بسیار مهم:
       تصویر A4 کامل نمایش داده می‌شود
       و بریده نمی‌شود.
    */

    object-fit:
        contain;

    object-position:
        center center;

    background:
        #f2f4f7;

    transition:
        transform .45s ease;

}


.poster-link:hover img {

    transform:
        scale(1.015);

}


/* Poster overlay */

.poster-overlay {

    position:
        absolute;

    inset:
        auto 15px 15px 15px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        9px;

    background:
        rgba(11,27,54,.88);

    color:
        white;

    border-radius:
        9px;

    font-size:
        10px;

    font-weight:
        600;

    opacity:
        0;

    transform:
        translateY(8px);

    transition:
        .25s;

}


.poster-link:hover
.poster-overlay {

    opacity:
        1;

    transform:
        translateY(0);

}


/* =========================================================
   POSTER PLACEHOLDER
========================================================= */

.poster-placeholder {

    width:
        100%;

    height:
        100%;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    background:

        radial-gradient(
            circle at center top,
            rgba(37,99,235,.12),
            transparent 38%
        ),

        linear-gradient(
            145deg,
            #f6f8fc,
            #e8eef7
        );

    color:
        #667085;

}


.poster-placeholder-logo {

    width:
        72px;

    height:
        72px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin-bottom:
        14px;

    border-radius:
        19px;

    background:
        linear-gradient(
            135deg,
            #155eef,
            #673ab7
        );

    color:
        white;

    font-size:
        20px;

    font-weight:
        800;

    box-shadow:
        0 10px 30px
        rgba(37,99,235,.18);

}


.poster-placeholder strong {

    font-size:
        15px;

}


.poster-placeholder span {

    margin-top:
        3px;

    color:
        #7d8798;

    direction:
        ltr;

    font-size:
        10px;

}


.poster-placeholder small {

    margin-top:
        10px;

    color:
        #a1a9b6;

    font-size:
        9px;

}


/* =========================================================
   NUMBER BADGE
========================================================= */

.conference-number {

    position:
        absolute;

    top:
        16px;

    right:
        16px;

    width:
        38px;

    height:
        38px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        11px;

    background:
        rgba(255,255,255,.94);

    color:
        var(--navy);

    font-size:
        11px;

    font-weight:
        800;

    box-shadow:
        0 5px 20px
        rgba(15,23,42,.12);

}


/* =========================================================
   LIVE BADGE
========================================================= */

.live-badge {

    position:
        absolute;

    top:
        16px;

    left:
        16px;

    display:
        flex;

    align-items:
        center;

    gap:
        7px;

    padding:
        6px 11px;

    border-radius:
        30px;

    background:
        rgba(255,255,255,.94);

    color:
        var(--green);

    font-size:
        9px;

    font-weight:
        700;

    box-shadow:
        0 5px 20px
        rgba(15,23,42,.08);

}


.live-badge i {

    width:
        7px;

    height:
        7px;

    border-radius:
        50%;

    background:
        var(--green);

    box-shadow:
        0 0 0 3px
        rgba(22,163,74,.10);

}


/* =========================================================
   CARD BODY
========================================================= */

.card-body {

    padding:
        23px;

}


.category {

    display:
        inline-block;

    padding:
        4px 9px;

    border-radius:
        7px;

    background:
        #edf4ff;

    color:
        var(--primary);

    font-size:
        9px;

    font-weight:
        700;

}


.card-body h3 {

    margin:
        10px 0 0;

    color:
        var(--navy);

    font-size:
        18px;

    line-height:
        1.85;

}


/* =========================================================
   DETAILS
========================================================= */

.details {

    display:
        flex;

    flex-direction:
        column;

    gap:
        11px;

    margin-top:
        20px;

}


.detail {

    display:
        flex;

    align-items:
        flex-start;

    gap:
        10px;

}


.detail-icon {

    flex:
        0 0 32px;

    width:
        32px;

    height:
        32px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        9px;

    background:
        #f3f6fa;

    color:
        var(--primary);

}


.detail-icon svg {

    width:
        17px;

    height:
        17px;

}


.detail > div:last-child {

    display:
        flex;

    flex-direction:
        column;

}


.detail span {

    color:
        #9aa3b2;

    font-size:
        9px;

}


.detail strong {

    color:
        #465064;

    font-size:
        11px;

    line-height:
        1.8;

    font-weight:
        600;

}


/* =========================================================
   ISC
========================================================= */

.isc-row {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    margin-top:
        20px;

    padding:
        10px;

    border:
        1px solid #e9edf2;

    border-radius:
        11px;

    background:
        #f8fafc;

}


.isc-logo {

    width:
        43px;

    height:
        34px;

    flex:
        0 0 43px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        8px;

    background:
        var(--navy);

    color:
        white;

    font-size:
        10px;

    font-weight:
        800;

}


.isc-info {

    display:
        flex;

    flex-direction:
        column;

    min-width:
        0;

}


.isc-info span {

    color:
        #8d96a5;

    font-size:
        8px;

}


.isc-info strong {

    color:
        #263348;

    font-size:
        9px;

    font-weight:
        600;

}


.isc-info bdi {

    direction:
        ltr;

    unicode-bidi:
        isolate;

    font-weight:
        700;

    letter-spacing:
        .2px;

}


.isc-pending {

    opacity:
        .7;

}


/* =========================================================
   WEBSITE BUTTON
========================================================= */

.website-button {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    height:
        47px;

    margin-top:
        13px;

    padding:
        0 15px;

    border-radius:
        11px;

    background:
        var(--primary);

    color:
        white;

    font-size:
        10px;

    font-weight:
        700;

    transition:
        .25s;

}


.website-button:hover {

    background:
        var(--primary-dark);

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(21,94,239,.18);

}


.button-arrow {

    font-size:
        18px;

    line-height:
        1;

}


/* =========================================================
   DOMAIN
========================================================= */

.domain {

    margin-top:
        7px;

    text-align:
        center;

    direction:
        ltr;

    color:
        #a1a9b6;

    font-size:
        8px;

}


/* =========================================================
   FOOTER
========================================================= */

footer {

    background:
        var(--navy);

    color:
        white;

}


.footer-inner {

    min-height:
        105px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;

}


.footer-inner strong {

    display:
        block;

    font-size:
        11px;

}


.footer-inner span {

    display:
        block;

    margin-top:
        2px;

    color:
        #8e9bb0;

    font-size:
        8px;

}


.footer-count {

    color:
        #7f8ba0;

    font-size:
        9px;

}


.copyright {

    color:
        #65738a;

    font-size:
        8px;

}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {


    .conference-grid {

        grid-template-columns:
            1fr;

        max-width:
            650px;

        margin:
            0 auto;

    }


    .poster {

        max-height:
            none;

    }


}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 600px) {


    .container {

        width:
            calc(100% - 28px);

    }


    .hero {

        padding:
            45px 0 35px;

    }


    .hero-content {

        flex-direction:
            column;

        gap:
            17px;

    }


    .hero-logo {

        width:
            76px;

        height:
            76px;

        flex-basis:
            76px;

        border-radius:
            20px;

    }


    .hero h1 {

        font-size:
            28px;

        line-height:
            1.6;

    }


    .hero-text p {

        font-size:
            11px;

        line-height:
            2;

    }


    .hero-stats {

        margin-top:
            25px;

    }


    .hero-stat {

        padding:
            11px 7px;

    }


    .hero-stat strong {

        font-size:
            15px;

    }


    .hero-stat span {

        font-size:
            8px;

    }


    .conferences {

        padding:
            50px 0 65px;

    }


    .section-title {

        margin-bottom:
            30px;

    }


    .section-title h2 {

        font-size:
            23px;

    }


    .section-title p {

        font-size:
            10px;

    }


    .conference-grid {

        gap:
            18px;

    }


    .poster {

        /*
          روی موبایل هم A4 حفظ می‌شود.
        */

        aspect-ratio:
            210 / 297;

        min-height:
            0;

    }


    .card-body {

        padding:
            19px;

    }


    .card-body h3 {

        font-size:
            16px;

    }


    .detail strong {

        font-size:
            10px;

    }


    .footer-inner {

        flex-direction:
            column;

        align-items:
            flex-start;

        justify-content:
            center;

        padding:
            20px 0;

    }

}