@font-face{

font-family:"IranNastaliq";

src:url("assets/fonts/IranNastaliq.ttf") format("truetype");

}
/*==================================================
    دفتر وکالت هوشمند بالستانی
    نسخه حرفه‌ای 2026
==================================================*/

/*========== Reset ==========*/

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

/*========== Variables ==========*/

:root{

    --bg:#070707;

    --card:#121212;

    --gold:#d4af37;

    --gold2:#f5d06f;

    --green:#18b65b;

    --green2:#0f8c44;

    --white:#ffffff;

    --text:#d7d7d7;

    --border:rgba(212,175,55,.35);

    --shadow:0 8px 30px rgba(0,0,0,.45);

}

/*========== Body ==========*/

body{

    direction:rtl;

    background:linear-gradient(180deg,#050505,#101010);

    color:var(--white);

    font-family:tahoma,sans-serif;

    overflow-x:hidden;

}

/*========== Scroll ==========*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:var(--gold);

    border-radius:30px;

}

/*========== Link ==========*/

a{

    text-decoration:none;

    color:inherit;

}

/*========== Container ==========*/

.container{

    width:95%;

    max-width:1200px;

    margin:auto;

}

/*========== Glass Card ==========*/

.card{

    background:rgba(18,18,18,.92);

    backdrop-filter:blur(10px);

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

    border-radius:18px;

    box-shadow:var(--shadow);

}

/*========== Glow ==========*/

.gold-glow{

    box-shadow:

    0 0 8px rgba(212,175,55,.35),

    0 0 18px rgba(212,175,55,.25);

}

/*========== Animation ==========*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.fadeUp{

    animation:fadeUp .7s ease;

}

/*========== Mobile ==========*/

@media(max-width:768px){

.container{

width:94%;

}

}
/*=========================================
            HEADER
=========================================*/

.header{

    width:100%;

    padding:20px 0 30px;

    background:#0b0b0b;

    border-bottom:2px solid var(--gold);

    box-shadow:0 0 25px rgba(212,175,55,.15);

}

/*==============================
      سه کارت بالا
==============================*/

.top-info{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:18px;

    margin-bottom:30px;

}

.info-card{

    display:flex;

    align-items:center;

    gap:15px;

    background:#151515;

    border:1px solid rgba(212,175,55,.35);

    border-radius:15px;

    padding:18px;

    transition:.35s;

    box-shadow:0 0 12px rgba(212,175,55,.12);

}

.info-card:hover{

    transform:translateY(-4px);

    border-color:var(--gold);

    box-shadow:0 0 22px rgba(212,175,55,.35);

}

.info-card i{

    width:55px;

    height:55px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:linear-gradient(var(--gold),var(--gold2));

    color:#111;

    font-size:22px;

}

.info-card div{

    display:flex;

    flex-direction:column;

}

.info-card .label{

    color:#d7d7d7;

    font-size:13px;

    margin-bottom:4px;

}

.info-card span:last-child{

    color:var(--gold2);

    font-size:19px;

    font-weight:bold;

}

/*==============================
          لوگو
==============================*/

.logo-area{

    display:flex;

    justify-content:center;

    margin-top:10px;

}

.logo{

    width:120px;

    border-radius:50%;

    animation:logoBlink 2.5s infinite;

    filter:drop-shadow(0 0 15px rgba(212,175,55,.55));

}

@keyframes logoBlink{

0%,100%{

opacity:1;

transform:scale(1);

}

50%{

opacity:.65;

transform:scale(1.05);

}

}

/*==============================
          عنوان
==============================*/

.site-title{

    text-align:center;

    margin-top:18px;

}

.site-title h1{

font-family:"IranNastaliq";

font-size:52px;

color:#d4af37;

font-weight:normal;

text-align:center;

line-height:1.8;

text-shadow:0 0 15px rgba(212,175,55,.35);

}
.site-title p{

    margin-top:10px;

    color:#bbbbbb;

    font-size:17px;

    letter-spacing:.5px;

}

/*==============================
          موبایل
==============================*/

@media(max-width:768px){

.site-title h1{

font-size:34px;

line-height:1.7;

}

}

.info-card{

padding:8px;

border-radius:12px;

}

.info-card i{

width:34px;

height:34px;

font-size:14px;

}

.info-card .label{

font-size:10px;

}

.info-card span:last-child{

font-size:11px;

font-weight:bold;

}

}
/*=========================================
          MAIN CALCULATOR
=========================================*/

main{

    padding:35px 0;

}

.calculator-card{

    background:#111111;

    border:2px solid var(--gold);

    border-radius:22px;

    box-shadow:0 0 35px rgba(212,175,55,.18);

    overflow:hidden;

}

/*==============================
      عنوان محاسبه گر
==============================*/

.card-header{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    padding:18px;

    background:linear-gradient(#171717,#101010);

    border-bottom:1px solid rgba(212,175,55,.30);

}

.card-header i{

    color:var(--gold);

    font-size:28px;

}

.card-header h2{

    color:var(--gold);

    font-size:28px;

    font-weight:bold;

}

/*==============================
      بدنه
==============================*/

.calculator-body{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:30px;

    padding:30px;

}

/*==============================
      فرم
==============================*/

.form-section{

    display:flex;

    flex-direction:column;

}

.form-group{

    margin-bottom:18px;

}

.form-group label{

    display:block;

    color:var(--gold);

    margin-bottom:8px;

    font-size:15px;

}

.form-group select,
.form-group input{

    width:100%;

    height:50px;

    background:#191919;

    border:1px solid rgba(212,175,55,.30);

    border-radius:12px;

    color:#fff;

    padding:0 15px;

    font-size:15px;

    transition:.30s;

}

.form-group select:focus,
.form-group input:focus{

    outline:none;

    border-color:var(--gold);

    box-shadow:0 0 15px rgba(212,175,55,.25);

}

/*==============================
      دکمه
==============================*/

.calc-button{

    height:55px;

    border:none;

    border-radius:14px;

    cursor:pointer;

    background:linear-gradient(var(--gold),#c69418);

    color:#111;

    font-size:18px;

    font-weight:bold;

    transition:.30s;

}

.calc-button:hover{

    transform:translateY(-3px);

    box-shadow:0 0 20px rgba(212,175,55,.40);

}

/*==============================
      نتیجه سبز
==============================*/

.result-section{

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

}

.result-box{

    background:linear-gradient(#129e4c,#0f7f3d);

    border-radius:18px;

    min-height:320px;

    padding:25px;

    color:#fff;

    text-align:center;

    display:flex;

    flex-direction:column;

    justify-content:center;

    box-shadow:0 0 30px rgba(0,180,90,.25);

}

.result-box h3{

    font-size:28px;

    margin-bottom:20px;

}

.result-box p{

    font-size:18px;

    line-height:2;

}

/*==============================
      زمان محاسبه
==============================*/

.time-box{

    margin-top:20px;

    background:#171717;

    border:1px solid rgba(212,175,55,.30);

    border-radius:12px;

    padding:15px;

    color:#ddd;

    text-align:center;

}

/*==============================
      موبایل
==============================*/

@media(max-width:992px){

.calculator-body{

grid-template-columns:1fr;

}

.result-box{

min-height:220px;

margin-top:20px;

}

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

.footer{

    width:100%;

    margin-top:45px;

    padding:35px 20px;

    background:#0b0b0b;

    border-top:2px solid var(--gold);

}

/*==============================
      مشاوره تخصصی
==============================*/

.support-card{

    max-width:700px;

    margin:auto;

    background:#111;

    border:1px solid rgba(212,175,55,.30);

    border-radius:18px;

    padding:25px;

    text-align:center;

    box-shadow:0 0 20px rgba(212,175,55,.15);

}

.support-title{

    color:var(--gold);

    font-size:26px;

    font-weight:bold;

    margin-bottom:15px;

}

.support-title i{

    margin-left:8px;

}

.support-phone a{

    color:#fff;

    font-size:28px;

    font-weight:bold;

    letter-spacing:2px;

    transition:.30s;

}

.support-phone a:hover{

    color:var(--gold);

}

/*==============================
      شبکه های اجتماعی
==============================*/

.social-links{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:25px;

    margin-top:35px;

}

.social-links a{

    width:60px;

    height:60px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:#151515;

    border:1px solid rgba(212,175,55,.35);

    color:var(--gold);

    font-size:24px;

    transition:.35s;

}

.social-links a:hover{

    background:var(--gold);

    color:#111;

    transform:translateY(-6px) scale(1.08);

    box-shadow:0 0 25px rgba(212,175,55,.45);

}

/*==============================
      کپی رایت
==============================*/

.copyright{

    text-align:center;

    margin-top:30px;

    color:#9d9d9d;

    font-size:14px;

    line-height:2;

}

.copyright strong{

    color:var(--gold);

}

/*==============================
      افکت نمایش
==============================*/

.header,
.calculator-card,
.support-card{

    animation:fadeUp .8s ease;

}

/*==============================
      انتخاب متن
==============================*/

::selection{

    background:var(--gold);

    color:#000;

}

/*==============================
      موبایل
==============================*/

@media(max-width:768px){

.support-card{

padding:18px;

}

.support-title{

font-size:20px;

}

.support-phone a{

font-size:22px;

}

.social-links{

gap:15px;

}

.social-links a{

width:50px;

height:50px;

font-size:20px;

}

.copyright{

font-size:12px;

}

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