@font-face{
    font-family:'IRANSans';
    src:url('/static/fonts/IRANSans.ttf') format('truetype');
    font-weight:normal;
    font-style:normal;
}

/* =========================================
   ROOT
========================================= */

:root{

    --primary:#69b631;
    --primary-dark:#1c3320;

    --bg:#f7faf7;
    --white:#ffffff;

    --text:#17212b;
    --muted:#6b7280;

    --border:#e7ebee;

    --card-shadow:0 10px 30px rgba(15,23,42,.05);
    --card-shadow-hover:0 18px 40px rgba(15,23,42,.08);

    --radius-xl:32px;
    --radius-lg:24px;
    --radius-md:18px;

    --transition:.28s ease;
}

/* =========================================
   RESET
========================================= */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'IRANSans',sans-serif;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            var(--bg) 100%
        );

    color:var(--text);

    line-height:1.9;

    overflow-x:hidden;

    -webkit-font-smoothing:antialiased;
}

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

a{
    text-decoration:none;
}

/* =========================================
   GLOBAL
========================================= */

.container{
    position:relative;
    z-index:2;
}

.section-title{
    font-size:clamp(1.2rem, 2.2vw, 2.2rem);

    font-weight:900;

    color:var(--primary-dark);

    line-height:1.5;

    margin-bottom:.8rem;

    letter-spacing:-0.03em;
}

.section-subtitle{
    font-size:1rem;

    color:var(--muted);

    line-height:2;

    max-width:680px;

    margin:auto;
}

.badge{
    font-size:.88rem;
    font-weight:700;
}

.bg-light-green{
    background:rgba(105,182,49,.10);

    color:var(--primary-dark)!important;

    border-radius:999px;

    padding:.7rem 1rem!important;

    border:1px solid rgba(105,182,49,.12);
}

/* =========================================
   BUTTONS
========================================= */

.btn{
    transition:var(--transition);

    font-weight:700;

    border-radius:14px;
}

.btn-main{
    background:var(--primary);

    color:#fff;

    border:none;

    padding:.95rem 1.6rem;

    box-shadow:0 10px 24px rgba(105,182,49,.18);
}

.btn-main:hover{
    background:var(--primary-dark);

    color:#fff;

    transform:translateY(-2px);
}

.btn-outline-dark{
    padding:.95rem 1.6rem;

    border:1px solid #d1d5db;

    background:#fff;
}

.btn-outline-dark:hover{
    background:#f3f4f6;

    border-color:#cbd5e1;
}

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

.hero-section{
    position:relative;

    padding:95px 0 75px;
}

.hero-title{
    font-size: clamp(1.8rem, 3.5vw, 3rem);

    font-weight:900;

    line-height:1.35;

    color:var(--primary-dark);

    margin-bottom:1.5rem;

    letter-spacing:-0.04em;
}

.hero-text{
    font-size:1.05rem;

    color:var(--muted);

    max-width:560px;

    line-height:2.1;

    margin-bottom:2rem;
}

.hero-image{
    border-radius:32px;

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

    border:1px solid rgba(0,0,0,.04);
}

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

.stats-section{
    padding:0 0 5rem;
}

.stats-box{
    background:rgba(255,255,255,.85);

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

    border-radius:var(--radius-xl);

    padding:2.8rem 2rem;

    box-shadow:var(--card-shadow);

    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    position:relative;

    overflow:hidden;
}

.stats-box::before{
    content:"";

    position:absolute;

    inset:0;

    background:
        radial-gradient(
            circle at top right,
            rgba(105,182,49,.12),
            transparent 28%
        ),

        radial-gradient(
            circle at bottom left,
            rgba(59,130,246,.08),
            transparent 30%
        );

    pointer-events:none;
}

.stats-box h2{
    font-size:clamp(1.2rem, 2.2vw, 2.2rem);

    font-weight:900;

    color:var(--primary-dark);

    margin-bottom:.4rem;
}

.stats-box p{
    color:var(--muted);

    margin:0;

    font-size:.96rem;

    font-weight:600;
}

/* =========================================
   FEATURES
========================================= */

.features{
    padding:5rem 0;
}

.feature-card{
    background:#fff;

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

    border-radius:24px;

    min-height:235px;

    padding:24px 18px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:space-between;

    text-align:center;

    transition:var(--transition);

    box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.feature-card:hover{
    transform:translateY(-6px);

    box-shadow:var(--card-shadow-hover);

    border-color:rgba(105,182,49,.18);
}

.feature-icon{
    width:110px;
    height:110px;

    border-radius:28px;

    background:
        linear-gradient(
            180deg,
            rgba(105,182,49,.10),
            rgba(105,182,49,.05)
        );

    display:flex;

    align-items:center;

    justify-content:center;

    margin-top:4px;
}

.feature-icon img{
    width:58%;
    height:58%;

    object-fit:contain;
}

.feature-card h5{
    font-size:.85rem;

    color:var(--primary-dark);

    line-height:1.6;

    margin:0;

    min-height:56px;

    display:flex;

    align-items:center;

    justify-content:center;
}
/* =========================================
   ROLES
========================================= */

.roles{
    padding: 5rem 0;
}

.role-card{
    background: #fff;

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

    border-radius: var(--radius-lg);

    padding: clamp(14px, 2vw, 24px);

    text-align: center;

    height: 100%;

    transition: var(--transition);

    box-shadow: var(--card-shadow);

    display: flex;

    flex-direction: column;

    align-items: center;
}

.role-card:hover{
    transform: translateY(-6px);

    box-shadow: var(--card-shadow-hover);

    border-color: rgba(105,182,49,.18);
}

.role-card img{
    width: clamp(90px, 70%, 180px);

    aspect-ratio: 1;

    object-fit: contain;

    display: block;

    margin-inline: auto;

    margin-bottom: 1rem;

    border-radius: 22px;

    padding: clamp(8px, 1.5vw, 12px)!important;

    background: #fff;
}

.role-card h4{
    font-size: clamp(.95rem, 2vw, 1.15rem);

    font-weight: 900;

    margin-bottom: .55rem;

    color: var(--primary-dark);
}

.role-card p{
    font-size: clamp(.78rem, 1.7vw, .94rem);

    color: var(--muted);

    line-height: 1.8;

    margin: 0;
}

/* =========================================
   APPS
========================================= */

.apps{
    padding:5rem 0;
}

.apps img{
    border-radius:30px;

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

/* =========================================
   MOBILE
========================================= */

@media(max-width:992px){

    .hero-section{
        text-align:center;

        padding:75px 0 55px;
    }

    .hero-text{
        margin-inline:auto;
    }

    .hero-image{
        margin-top:1rem;
    }

    .section-title{
        font-size:clamp(1.2rem, 2.2vw, 2.2rem);
    }
}

@media(max-width:768px){

    .hero-title{
        font-size:1.6rem;

        line-height:1.5;
    }

    .hero-text{
        font-size:.97rem;

        line-height:2;
    }

    .stats-box{
        padding:2rem 1rem;
    }

    .feature-card{
        min-height:180px;

        padding:18px 12px;

        border-radius:20px;
    }

    .feature-icon{
        width:82px;
        height:82px;

        border-radius:22px;
    }

    .feature-card h5{
        font-size:.8rem;

        min-height:36px;

        line-height:1.7;
    }

    .role-card{
        padding:20px 14px;

        border-radius:20px;
    }

    .role-card h4{
        font-size:1rem;
    }

    .role-card p{
        font-size:.85rem;

        line-height:1.9;
    }

    .btn-main,
    .btn-outline-dark{
        width:100%;
    }

    .apps,
    .features,
    .roles{
        padding:4rem 0;
    }
}

@media(max-width:576px){

    .hero-section{
        padding-top:50px;
    }

    .hero-title{
        font-size:1.6rem;
    }

    .section-title{
        font-size:1.5rem;
    }

    .section-subtitle{
        font-size:.92rem;
    }

    .stats-box h2{
        font-size:1.4rem;
    }

    .stats-box p{
        font-size:.9rem;
    }

    .feature-card{
        min-height:165px;

        padding:16px 10px;
    }

    .feature-icon{
        width:72px;
        height:72px;

        border-radius:20px;
    }

    .feature-card h5{
        font-size:.7rem;

        min-height:32px;

        line-height:1.7;
    }

    .feature-icon img{
        width:56%;
        height:56%;
    }

    .role-card{
        padding:18px 12px;
    }

    .role-card img{
        padding:10px!important;
    }
}