:root{
    --bg:#070707;
    --text:#f4f4ef;
    --muted:#8b8b8b;
    --line:rgba(255,255,255,.12);
    --gold:#ae883c;
    --gold-light:#e0bd68;
    --card:#101010;
    --max:1280px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:peyda,sans-serif;
    overflow-x:hidden;
}

@font-face{
    font-family:"Vazirmatn";
    src:url("./font/vazirmatn/fonts/ttf/Vazirmatn-Regular.ttf") format("truetype");
}

@font-face{
    font-family:"peyda";
    src:url("./font/peyda/Peyda-Bold.ttf") format("truetype");
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

button,
a{
    -webkit-tap-highlight-color:transparent;
}

.wrap{
    width:min(var(--max),calc(100% - 60px));
    margin:auto;
}

::selection{
    background:var(--gold);
    color:#000;
}


/* =====================================================
   NOISE
===================================================== */

.noise{
    position:fixed;
    inset:0;
    pointer-events:none;
    opacity:.12;
    z-index:100;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress{
    position:fixed;
    right:0;
    top:0;
    width:3px;
    height:0;
    background:var(--gold);
    z-index:300;
}


/* =====================================================
   NAV
===================================================== */

nav{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:50;
    padding:22px 0;
    background:linear-gradient(#070707,transparent);
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.brand{
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    border-radius:50%;
    transition:.4s;
}

.brand img{
    width:52px;
    height:52px;
    object-fit:contain;
}

.nav-links a{
    position:relative;
    display:inline-block;
    color:#aaa;
    font-size:14px;
    transition:
            color .35s cubic-bezier(.22,1,.36,1),
            transform .35s cubic-bezier(.22,1,.36,1);
}
.menu-links{
    display:flex;
    align-items:center;
    gap:25px;
    flex-wrap:wrap;
    direction:rtl;
}

.menu-links a{
    color: #b6b3b3;
    transition:.3s;
}

.menu-links a:hover{
    color:var(--gold-light);
}

/* خط زیر منو */
.nav-links a::after{
    content:"";
    position:absolute;

    right:0;
    bottom:-9px;

    width:100%;
    height:1px;

    background:linear-gradient(
            90deg,
            var(--gold),
            #fff1bd,
            var(--gold)
    );

    transform:scaleX(0);
    transform-origin:right center;

    opacity:0;

    transition:
            transform .55s cubic-bezier(.16,1,.3,1),
            opacity .3s ease;
}

/* هاور */
.nav-links a:hover{
    color:#fff;
    transition: .5s !important;

    transform:translateY(-3px);
}

.nav-links a:hover::after{
    transform:scaleX(1);
    transition: .5s !important;
    transform-origin:left center;
    opacity:1;
}


/* =====================================================
   HERO
===================================================== */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr .9fr;
    gap:70px;
    align-items:center;
}

.tag{
    font-size:11px;
    letter-spacing:.15em;
    color:#888;
    margin-bottom:30px;
    direction:ltr;
}

.hero h1{
    font-size:clamp(65px,10vw,145px);
    line-height:.85;
    letter-spacing:-.08em;
    margin:0;
}

.name{
    display:inline-block;
    font-family:peyda;
    font-size:clamp(75px,9vw,125px);
}

.typed-wrapper{
    display:block;
    font-size:.28em;
    margin-top:45px;
    color:var(--gold);
    letter-spacing:-.02em;
    min-height:60px;
}

.typed-cursor{
    color:var(--gold);
    font-weight:400;
}

.hero p{
    max-width:650px;
    font-size:20px;
    line-height:2;
    color:#999;
    margin:40px 0;
}

.actions{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.btn{
    position:relative;
    height:55px;
    padding:0 30px;

    border-radius:50px;
    border:1px solid var(--line);

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;

    transition:
            transform .55s cubic-bezier(.16,1,.3,1),
            border-color .4s ease,
            color .4s ease,
            background .4s ease;

    will-change:transform;
}

/* لایه متحرک داخل دکمه */
.btn::before{
    content:"";

    position:absolute;
    inset:0;

    background:var(--gold);

    transform:scaleX(0);
    transform-origin:right center;

    transition:
            transform .6s cubic-bezier(.16,1,.3,1);

    z-index:0;
}

/* متن دکمه */
.btn{
    isolation:isolate;
}

.btn > *,
.btn{
    text-align:center;
}

/* چون متن مستقیم داخل a است */
.btn{
    color:#fff;
}

.btn:hover::before{
    transform:scaleX(1);
    transform-origin:left center;
}

.btn:hover{
    color:#000;
    border-color:var(--gold);

    transform:translateY(-6px);
    transition: .4s all linear !important;
}
.btn{
    position:relative;
    z-index:1;
}

.btn::before{
    z-index:-1;
}

.primary{
    background:#eee;
    color:#000;
}

.primary:hover{
    background:var(--gold);
    transform:translateY(-5px);
}

.ghost:hover{
    border-color:var(--gold);
    transform:translateY(-5px);
}


/* =====================================================
   LOGO HERO
===================================================== */

.logo-stage{
    height:650px;
    display:grid;
    place-items:center;
    position:relative;
    perspective:1000px;
}

.orbit{
    position:absolute;
    width:450px;
    height:450px;
    border-radius:50%;
    border:1px solid rgba(174,136,60,.55);
}

.orbit-second{
    width:520px;
    height:520px;
    border-color:rgba(174,136,60,.12);
    border-style:dashed;
}

.orbit-light-wrap{
    position:absolute;
    inset:0;
    border-radius:50%;
    animation:orbitLight 9s linear infinite;
}

.orbit-light{
    position:absolute;
    width:79px;
    height:4px;
    top:-2px;
    left:50%;
    transform:translateX(-50%);
    border-radius:100px;
    background:linear-gradient(
            90deg,
            transparent,
            rgba(214,173,85,.25),
            var(--gold),
            #fff3c4,
            var(--gold),
            rgba(214,173,85,.25),
            transparent
    );
    filter:
            blur(.4px)
            drop-shadow(0 0 6px var(--gold))
            drop-shadow(0 0 18px rgba(214,173,85,.75));
}

@keyframes orbitLight{
    from{
        transform:rotate(0deg);
    }
    to{
        transform:rotate(360deg);
    }
}

.logo-main{
    width:300px;
    height:300px;
    border-radius:40px;
    background:
            radial-gradient(
                    circle at 50% 40%,
                    #353535,
                    #080808 72%
            );
    display:grid;
    place-items:center;
    position:relative;
    z-index:2;
    box-shadow:
            0 40px 100px #000,
            0 0 80px rgba(174,136,60,.08);
    transform-style:preserve-3d;
    border:1px solid rgba(255,255,255,.08);
}

.logo-glow{
    position:absolute;
    width:150px;
    height:150px;
    border-radius:50%;
    background:var(--gold);
    opacity:.08;
    filter:blur(50px);
    pointer-events:none;
}

.logo-main img{
    width:72%;
    max-height:72%;
    object-fit:contain;
    position:relative;
    z-index:2;
    animation:logoBreathing 4s ease-in-out infinite;
    transform-origin:center;
    will-change:transform;
}

@keyframes logoBreathing{
    0%,100%{
        transform:scale(1);
    }
    50%{
        transform:scale(1.055);
    }
}

.logo-hint{
    position:absolute;
    bottom:30px;
    font-size:10px;
    color:#666;
    letter-spacing:.15em;
    direction:ltr;
}


/* =====================================================
   GENERAL SECTIONS
===================================================== */

.section{
    padding:160px 0;
}

.section-title{
    font-size:12px;
    letter-spacing:.2em;
    color:#777;
    margin-bottom:70px;
    direction:ltr;
}

.about-grid{
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:90px;
    align-items:center;
}

.profile{
    aspect-ratio:4/5;
    border-radius:35px;
    overflow:hidden;
    border:1px solid var(--line);
    background:#111;
}

.brand-preview{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    min-height:520px;
}

.brand-preview img{
    width:52%;
    object-fit:contain;
    position:relative;
    z-index:2;
    animation:logoBreathing 5s ease-in-out infinite;
}

.brand-preview span{
    margin-top:25px;
    font-size:12px;
    letter-spacing:.35em;
    color:#777;
    direction:ltr;
}

.preview-grid{
    position:absolute;
    inset:0;
    opacity:.18;
    background-image:
            linear-gradient(
                    rgba(255,255,255,.08) 1px,
                    transparent 1px
            ),
            linear-gradient(
                    90deg,
                    rgba(255,255,255,.08) 1px,
                    transparent 1px
            );
    background-size:45px 45px;
    mask-image:radial-gradient(
            circle,
            black,
            transparent 75%
    );
}

.preview-corner{
    position:absolute;
    width:35px;
    height:35px;
    border-color:var(--gold);
    opacity:.5;
}

.preview-corner.top-right{
    top:25px;
    right:25px;
    border-top:1px solid;
    border-right:1px solid;
}

.preview-corner.bottom-left{
    bottom:25px;
    left:25px;
    border-bottom:1px solid;
    border-left:1px solid;
}

.mini-label{
    color:var(--gold);
    font-size:11px;
    letter-spacing:.18em;
    margin-bottom:25px;
    direction:ltr;
}

.about-text h2{
    font-family:peyda;
    font-size:clamp(40px,5vw,75px);
    line-height:1;
    letter-spacing:-.07em;
    margin:0 0 40px;
}

.about-text p{
    font-size:21px;
    line-height:2;
    color:#999;
}

.stats{
    display:grid;
    grid-template-columns:1fr 1fr;
    border-top:1px solid var(--line);
    margin-top:60px;
}

.stats div{
    padding:25px;
    border-bottom:1px solid var(--line);
    color:#ddd;
}

.stats span{
    display:block;
    color:var(--gold);
    font-size:12px;
    margin-bottom:10px;
}


/* =====================================================
   PROCESS
===================================================== */

.process-section{
    position:relative;
    height:360vh;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.process-sticky{
    height:100vh;
    position:sticky;
    top:0;
    display:grid;
    grid-template-columns:.7fr 1.3fr;
    align-items:center;
    gap:80px;
    width:min(var(--max),calc(100% - 60px));
    margin:auto;
}

.process-heading .section-title{
    margin-bottom:35px;
}

.process-heading h2{
    font-family:peyda;
    font-size:clamp(65px,8vw,120px);
    line-height:.85;
    letter-spacing:-.08em;
    margin:0;
}

.process-heading h2 span{
    color:var(--gold);
}

.process-visual{
    height:500px;
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.process-line{
    position:absolute;
    right:25px;
    top:25px;
    bottom:25px;
    width:1px;
    background:rgba(255,255,255,.1);
}

.process-progress{
    position:absolute;
    right:25px;
    top:25px;
    width:2px;
    height:0;
    background:var(--gold);
    transform-origin:top;
}

.process-item{
    position:relative;
    display:grid;
    grid-template-columns:70px 70px 1fr;
    gap:25px;
    align-items:center;
    opacity:.2;
    transition:opacity .5s;
}

.process-item.active{
    opacity:1;
}

.process-number{
    font-size:12px;
    color:var(--gold);
    direction:ltr;
}

.process-icon{
    width:50px;
    height:50px;
    border:1px solid rgba(174,136,60,.35);
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#080808;
    position:relative;
    z-index:2;
    transition:.5s;
}

.process-item.active .process-icon{
    border-color:var(--gold);
    box-shadow:0 0 30px rgba(174,136,60,.15);
}

.process-icon span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#555;
    transition:.5s;
}

.process-item.active .process-icon span{
    background:var(--gold);
    box-shadow:0 0 15px var(--gold);
}

.process-info small{
    font-size:10px;
    letter-spacing:.2em;
    color:#777;
    direction:ltr;
}

.process-info h3{
    font-family:peyda;
    font-size:40px;
    margin:5px 0 8px;
}

.process-info p{
    color:#777;
    line-height:1.9;
    margin:0;
    max-width:430px;
}

.process-counter{
    position:absolute;
    bottom:45px;
    left:0;
    direction:ltr;
}

.process-counter strong{
    font-size:38px;
    color:var(--gold);
}

.process-counter span{
    color:#555;
    font-size:14px;
}


/* =====================================================
   SERVICES
===================================================== */

.big-title{
    font-family:peyda;
    font-size:clamp(55px,9vw,125px);
    line-height:.9;
    letter-spacing:-.07em;
    margin:0 0 90px;
}

.big-title span{
    color:var(--gold);
}

.course-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.course-card{
    position:relative;
    min-height:510px;
    padding:32px;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:30px;
    background:
            linear-gradient(
                    145deg,
                    rgba(174,136,60,.07),
                    transparent 50%
            ),
            #0c0c0c;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    transition:border-color .4s;
    transform-style:preserve-3d;
}

.course-card::after{
    content:"";
    position:absolute;
    inset:-100%;
    background:
            linear-gradient(
                    115deg,
                    transparent 35%,
                    rgba(255,255,255,.05),
                    transparent 65%
            );
    transform:translateX(-30%);
    transition:1s;
}

.course-card:hover::after{
    transform:translateX(30%);
}

.course-card:hover{
    border-color:rgba(174,136,60,.45);
}

.course-overlay{
    position:absolute;
    inset:0;
    z-index:0;
    opacity:.5;
    background:
            linear-gradient(
                    135deg,
                    rgba(214,173,85,.06),
                    transparent 45%
            );
}

.course-top,
.course-content,
.course-bottom{
    position:relative;
    z-index:2;
}

.course-top{
    display:flex;
    justify-content:space-between;
    color:#777;
}

.course-number{
    font-size:13px;
    color:var(--gold);
}

.course-label{
    font-size:10px;
    letter-spacing:.15em;
    direction:ltr;
}

.service-symbol{
    color:var(--gold);
    font-size:25px;
    margin-bottom:20px;
}

.course-content h3{
    font-family:peyda;
    font-size:clamp(48px,6vw,75px);
    line-height:.9;
    letter-spacing:-.07em;
    margin:0 0 30px;
}

.course-content p{
    max-width:470px;
    color:#888;
    font-size:17px;
    line-height:2;
}

.course-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:20px;
}

.service-detail{
    color:#555;
    font-size:10px;
    letter-spacing:.2em;
    direction:ltr;
}


/* =====================================================
   KINETIC
===================================================== */

.kinetic{
    min-height:80vh;
    display:flex;
    align-items:center;
    overflow:hidden;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.kinetic-track{
    width:100%;
}

.kinetic h2{
    font-family:peyda;
    font-size:clamp(70px,14vw,190px);
    line-height:.75;
    letter-spacing:-.08em;
    margin:0;
    white-space:nowrap;
}

.kinetic .pad{
    padding-right:18vw;
    color:var(--gold);
}


/* =====================================================
   FINAL
===================================================== */

.final{
    min-height:90vh;
    padding:150px 30px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.final-tag{
    color:#777;
    font-size:11px;
    letter-spacing:.18em;
    margin-bottom:35px;
    direction:ltr;
}

.final-logo{
    width:75px;
    height:75px;
    margin-bottom:35px;
}

.final-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.final h2{
    font-family:peyda;
    font-size:clamp(65px,11vw,155px);
    line-height:.82;
    letter-spacing:-.09em;
    margin:0;
}

.final h2 span{
    color:var(--gold);
}

.final p{
    max-width:650px;
    color:#888;
    font-size:19px;
    line-height:2;
    margin:50px 0 35px;
}


/* =====================================================
   FOOTER
===================================================== */

footer{
    border-top:1px solid var(--line);
    padding:30px;
    display:flex;
    justify-content:space-between;
    color:#666;
    font-size:11px;
    direction:ltr;
}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:900px){

    .wrap{
        width:min(var(--max),calc(100% - 36px));
    }

    nav{
        padding:15px 0;
    }

    .nav-links{
        gap:15px;


    }

    .nav-links a{
        font-size:11px;

    }

    .hero{
        padding-top:100px;
    }

    .hero-grid{
        grid-template-columns:1fr;
        gap:10px;
    }

    .hero h1{
        font-size:18vw;
    }

    .name{
        font-size:18vw;
    }

    .hero p{
        font-size:17px;
        margin:30px 0;
    }

    .logo-stage{
        height:470px;
    }

    .orbit{
        width:320px;
        height:320px;
    }

    .orbit-second{
        width:365px;
        height:365px;
    }

    .logo-main{
        width:220px;
        height:220px;
        border-radius:30px;
    }

    .section{
        padding:110px 0;
    }

    .about-grid{
        grid-template-columns:1fr;
        gap:45px;
    }

    .brand-preview{
        min-height:390px;
    }

    .about-text p{
        font-size:17px;
    }

    .process-section{
        height:320vh;
    }

    .process-sticky{
        width:calc(100% - 36px);
        grid-template-columns:1fr;
        gap:30px;
        padding:80px 0;
    }

    .process-heading h2{
        font-size:18vw;
    }

    .process-visual{
        height:450px;
    }

    .process-info h3{
        font-size:30px;
    }

    .process-info p{
        font-size:13px;
    }

    .course-grid{
        grid-template-columns:1fr;
    }

    .course-card{
        min-height:450px;
    }

    .kinetic{
        min-height:60vh;
    }

    .kinetic h2{
        font-size:22vw;
    }

    .final{
        min-height:75vh;
        padding:110px 20px;
    }

    .final h2{
        font-size:19vw;
    }

    .final p{
        font-size:16px;
    }

}

@media(max-width:600px){

    .nav-links a:nth-child(2),
    .nav-links a:nth-child(3){
        display:none;
    }

    .stats{
        grid-template-columns:1fr;
    }

    .actions .btn{
        width:100%;
    }

    .logo-hint{
        bottom:15px;
        font-size:9px;
    }

    .course-card{
        padding:25px;
    }

    .course-content h3{
        font-size:60px;
    }

    .process-item{
        grid-template-columns:45px 55px 1fr;
        gap:10px;
    }

    .process-number{
        font-size:10px;
    }

    .process-icon{
        width:42px;
        height:42px;
    }

    .process-info h3{
        font-size:26px;
    }

    .process-info p{
        font-size:11px;
        line-height:1.7;
    }

    footer{
        flex-direction:column;
        gap:10px;
        align-items:center;
    }

}

@media(prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        scroll-behavior:auto !important;
        transition-duration:.01ms !important;
    }

}
.footer-links{
    display:flex;
    align-items:center;
    gap:25px;
    flex-wrap:wrap;
    direction:rtl;
}

.footer-links a{
    color:#666;
    transition:.3s;
}

.footer-links a:hover{
    color:var(--gold-light);
}

@media(max-width:700px){

    .footer-links{
        justify-content:center;
        gap:15px;
        margin-bottom:15px;
    }

}