@font-face {
    font-family:'Digi-Trafic-Bold' ;
    src: url(../font/Digi\ Trafic\ Bold.otf);
}
/* ========== RESET ========== */
*{
    
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Digi-Trafic-Bold ,Segoe UI,Tahoma;
}

body{
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

/* ========== VARIABLES ========== */
:root{
  --bg:#1c1c1c;
  --card:#292929;
  --text:#fff;
  --accent:#0dff00;

  --navBg:#333;
  --eduBg:#292929;
  --navText:#fff;
}

.light{
  --bg:#f4f7ff;
  --card:#ffffff;
  --text:#000;
  --accent:#0ace00;

  --navBg:#e0e8f5;
  --eduBg:#d0d8f0;
  --navText:#000;
}

/* ========== NAVS ========== */



.topNav{
  position:fixed;
  top:0;
  width:100%;
  height:55px;
  background:var(--navBg);
  display:flex;
  align-items:center;
  justify-content:space-between;
  z-index:1000;
}


.logo{
  text-align: center;
font-size: 30px;
color: #0ace00;
  height: 100%;
  width: 10%;
}
@media(max-width:400px){
.logo{
    text-align: center;

  height: 100%;
  width: 20%;
}} 
.topNav ul{

  display:flex;
  list-style:none;
  gap:50px;
}

@media(max-width:400px){
  .topNav ul{
  margin-left:0px;
  display:flex;
  list-style:none;
  gap:20px;
  }
}
.topNav a{
  color:var(--navText);
  text-decoration:none;
}

#themeBtn{
  background:none;
  border:none;
  font-size:20px;
  cursor:pointer;
  color:var(--navText);
}

.eduNav{
  position:fixed;
  top:55px;
  width:100%;
  background:var(--eduBg);
  padding:10px;
  display:flex;
  justify-content:center;
  gap:25px;
  z-index:999;
}

.eduNav a{
  color:var(--accent);
  text-decoration:none;
  font-weight:bold;
}



/* user modal */
#userModal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:.3s;
  z-index:9999;
}

#userModal.active{
  opacity:1;
  pointer-events:auto;
}

.modalContent{
  background:#222;
  padding:30px;
  width:320px;
  border-radius:16px;
  position:relative;
  box-shadow:0 0 30px rgba(9, 255, 0, 0.3);
  text-align:center;
}

.modalContent input{
  width:100%;
  margin:10px 0;
  padding:10px;
  border-radius:8px;
  border:none;
  outline:none;
}

.modalContent button{
  width:100%;
  padding:10px;
  border:none;
  border-radius:10px;
  background:#0dff00;
  cursor:pointer;
}

.closeModal{
  position:absolute;
  top:10px;
  right:15px;
  font-size:22px;
  cursor:pointer;
  color:#fff;
}


/* ========== HERO ========== */
.hero{
  margin-top:110px;
  height:490px; /* ← اینجا ارتفاع فعلیه */
  position:relative;
  overflow:hidden;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.heroText{
  position:absolute;
  z-index:10;
}

.heroText h1{
  font-size:36px;
}

/* canvas for background balls */
#bgCanvas{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  display:block;
  z-index:1;
}

/* ========== CARDS / SLIDER ========== */
.slider{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:50px;
  padding:40px 20px;
}

.card{
  width:220px;
  background:var(--card);
  padding:20px;
  border-radius:14px;
  text-align:center;
  box-shadow:0 0 10px rgba(35, 212, 0, 0.4);
  transition:.3s;
  position:relative;
}

.cardImg{
  height:100px;
  background:rgba(42, 212, 0, 0.2);
  margin-bottom:15px;
  border-radius:10px;
}

.card:hover{
  transform:translateY(-6px);
}

.card a{
  display:block;
  margin-top:15px;
  padding:10px;
  background:var(--accent);
  color:black;
  text-decoration:none;
  border-radius:8px;
  font-weight:bold;
}

/* ========== WHY SECTION ========== */
.whySection{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  align-items:center;
  padding:50px 20px;
  gap:30px;
}

.whyText{
  flex:1;
  min-width:250px;
  text-align:center;
}

.whyCard {
    flex: 1;
    min-width: 250px;
    background: var(--card);
    padding: 30px;
    border-radius: 15px;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(25, 212, 0, 0.4);
    color: var(--text);
}

.neonCircle{
  background-color: #0dff009c;
  position:absolute;
  width:300px;
  height:350px;
  border:0px solid var(--accent);
  border-radius:50%;
  top:-40px;
  right:-40px;
  animation:rotateCircle 8s linear infinite;
}

.message{
  z-index: 2;
  position: absolute;
font-size: larger;
}


@keyframes rotateCircle{
  0%{transform:rotate(0deg);}
  100%{transform:rotate(360deg);}
}

/* ===== FOOTER PRO ===== */

.mainFooter {
    margin-top: 10%;
    background: var(--card);
    padding: 60px 20px 20px;
    color: var(--text);}

.footerContainer{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:40px;
}

.footerCol h4{
  margin-bottom:15px;
  color:var(--accent);
}

.footerLogo{
  width: 100%;
  font-size:22px;
  margin-bottom:10px;
  color:var(--accent);
}

.footerCol p{
  line-height:1.8;
  opacity:.8;
}


.footer-p{
  text-align: center;
}


.footerCol ul{
  list-style:none;
}

.footerCol li{
  margin-bottom:10px;
}

.footerCol a{
  text-decoration:none;
  color:var(--text);
  opacity:.8;
  transition:.3s;
}

.footerCol a:hover{
  color:var(--accent);
  opacity:1;
}

/* socials */

.socials{
  display:flex;
  gap:12px;
}

.socials a{
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(42, 212, 0, 0.15);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  transition:.3s;
}

.socials a:hover{
  background:var(--accent);
  color:black;
}

/* bottom */

.footerBottom{
  text-align:center;
  margin-top:40px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.1);
  font-size:14px;
  opacity:.7;
}

/* ========== MOBILE ========= */
@media(max-width:800px){
  .whySection{
    flex-direction:column;
  }


  .slider{
    justify-content:center;
  }
}
#typingText {
  border-right: 3px solid var(--accent);
  white-space: pre; /* برای حفظ خط جدید */
  display: inline-block;
  padding-right: 5px;
  font-size:36px;
}

@keyframes blinkCursor {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--accent); }
}

#typingText {
  animation: blinkCursor 0.7s step-end infinite;
}
/* CSS برای fade-in هنگام اسکرول */
.scrollAnim {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scrollAnim.show {
  opacity: 1;
  transform: translateY(0);
}
/* مسیر نئونی (باریک) */
.separator {
  position: relative;
  width: 100%;
  height:2px; /* ضخامت مسیر */
  background: rgba(21, 212, 0, 0.2); /* رنگ مسیر شفاف نئونی */
  border-radius: 3px; /* گرد کردن گوشه‌ها */
  margin: 60px 0; /* فاصله از بالا و پایین */
  overflow: hidden;
}

/* توپک نئونی */
.separator .ball {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #04d400;
  box-shadow: 0 0 8px #0dff00, 0 0 16px #0dff00, 0 0 24px #0dff00;
}

.h2-why{
    text-align: center;
}
.p-why{
        text-align: center;
}
/* ===== GLOBAL HOVER EFFECTS ===== */

/* منو بالا */
.topNav a,
.eduNav a{
  position:relative;
  padding:5px 0;
}

.topNav a::after,
.eduNav a::after{
  content:'';
  position:absolute;
  right:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:var(--accent);
  transition:.3s;
}

.topNav a:hover::after,
.eduNav a:hover::after{
  width:100%;
}

/* دکمه شروع کارت‌ها */
.card a{
  transition:.3s;
}

.card a:hover{
  transform:translateY(-2px);
  box-shadow:0 0 10px var(--accent),
             0 0 20px var(--accent);
}

/* کارت‌ها */
.card{
  transition:.4s;
}

.card:hover{
  transform:translateY(-10px) scale(1.03);
  box-shadow:0 0 25px rgba(21, 212, 0, 0.6);
}

/* دکمه تم */
#themeBtn{
  transition:.3s;
}

#themeBtn:hover{
  transform:rotate(20deg) scale(1.2);
}

/* footer links */
.footerCol a:hover{
  padding-right:6px;
}

/* socials hover */
.socials a:hover{
  box-shadow:0 0 10px var(--accent),
             0 0 20px var(--accent);
}

/* دکمه‌ها عمومی */
button,a{
  cursor:pointer;
}
/* ===== MOBILE MENU ===== */

.burger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.burger span{
  width:25px;
  height:3px;
  background:var(--navText);
  transition:.3s;
}

@media(max-width:800px){

  .burger{display:flex;}

  .navLinks{
    position:fixed;
    top:55px;
    right:-100%;
    width:220px;
    height:100vh;
    background:var(--navBg);
    flex-direction:column;
    padding:30px;
    transition:.4s;
  }

  .navLinks.active{
    right:0;
  }

}
.separator .ball{
  animation:pulse 1.5s infinite;
}

@keyframes pulse{
  0%{transform:translate(-50%,-50%) scale(1);}
  50%{transform:translate(-50%,-50%) scale(1.4);}
  100%{transform:translate(-50%,-50%) scale(1);}
}
#preloader{
  position:fixed;
  inset:0;
  background:var(--bg);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.loader{
  width:50px;
  height:50px;
  border:4px solid rgba(35, 212, 0, 0.3);
  border-top:4px solid var(--accent);
  border-radius:50%;
  animation:spin 1s linear infinite;
}

@keyframes spin{
  to{transform:rotate(360deg);}
}
/* ===== NAV RIGHT ===== */

.navRight{
  display:flex;
  align-items:center;
  gap:15px;
}

/* search */

.searchBox{
  background:rgba(255,255,255,.08);
  padding:5px 10px;
  border-radius:20px;
  display:flex;
  align-items:center;
  gap:50px;
  border:1px solid #0dff00;
}


.searchBox input{
  background:none;
  border:none;
  outline:none;
  color:var(--navText);
  width:120px;
}



.searchBox span{
  cursor:pointer;
}

/* user */

.userBox{
  position:relative;
  cursor:pointer;
}

.userMenu{
  position:absolute;
  top:30px;
  right:0;
  background:var(--card);
  border-radius:10px;
  padding:10px;
  min-width:120px;
  display:non
}

.userMenu a{
  display:block;
  padding:6px;
  text-decoration:none;
  color:var(--text);
}

.userMenu a:hover{
  color:var(--accent);
}

.userBox:hover .userMenu{
  display:block;
}

/* mobile nav adapt */

@media(max-width:800px){

  .searchBox{display:none;}

}
.support-section{
  padding:60px 0;
  font-family: IRANSans, sans-serif;
}

.support-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.phone-box{
  position:relative;
}

.phone-box::before{
  content:'';
  position:absolute;
  width:420px;
  height:280px;
  background:#0dff00;
  border-radius:50%;
  right:-120px;
  top:60px;
  z-index:-1;
}

.avatar{
  width:100%;
}

.speech{
  position:absolute;
  top:40px;
  left:-80px;
  background:#fff;
  padding:15px 20px;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.1);
  font-size:14px;
}

.form-box{
  width:380px;
  background:#fff;
  padding:30px;
  border-radius:18px;
  box-shadow: 0 0 25px rgba(18, 212, 0, 0.4);
}

.form-box h2{
  margin-bottom:10px;
}

.form-box input{
  width:100%;
  padding:12px;
  margin-top:15px;
  border-radius:10px;
  border:1px solid #ddd;
}

.form-box button{
  width:100%;
  margin-top:20px;
  padding:14px;
  border:none;
  border-radius:12px;
  background:#B9B0FF;
  color:#fff;
  font-size:16px;
  cursor:pointer;
}
.steps{
  padding:60px 0;
  background:#f7f9fc;
  text-align:center;
  font-family: IRANSans, sans-serif;
}

.steps-container{
  max-width:1100px;
  margin:40px auto;
  display:flex;
  gap:20px;
}

.step{
  background:#fff;
  padding:25px;
  border-radius:20px;
  box-shadow:0 10px 25px rgba(0,0,0,.07);
  position:relative;
  flex:1;
}

.step span{
  width:42px;
  height:42px;
  background:#28a81a;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-weight:bold;
  margin:auto;
  margin-bottom:15px;
}

.step.active{
  background:#28a81a;
  color:#fff;
}

.step.active span{
  background:#0dff00;
  color:#000;
}
.steps2{
  padding:80px 40px;
  text-align:right;
}

.steps2 h2{
  margin-bottom:40px;
}

.stepsRow{
  align-items:stretch;
  display:flex;
  align-items:center;
  gap:50px;
  flex-wrap:wrap;
}

.stepBox{
 background:#80ff66;
  border:2px solid #1ba811;
  border-radius:20px;
  padding:30px;
  width:240px;
  height:220px;
  position:relative;
  box-shadow:0 10px 25px rgba(0,0,0,.08);}

.stepBox h3{
  margin-bottom:10px;
}

.stepBox.active{
  background:#25a811;
  color:#fff;
}

.check{
  position:absolute;
  left:-18px;
  top:30px;
  background:#0dff00;
  color:#fff;
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
}

.arrow{
  background:#1ea811;
  color:#fff;
  width:50px;
  height:40px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}

@media(max-width:900px){
  .stepsRow{
    flex-direction:column;
  }

  .arrow{
    transform:rotate(-90deg);
  }
}
/* ===== FORCE DARK MODE FOR STEPS ===== */

.dark .steps2 h2,
[data-theme="dark"] .steps2 h2{
  color:#fff!important;
}

.dark .stepBox,
[data-theme="dark"] .stepBox{
  background:#020617!important;
  border-color:#0dff00!important;
  color:#e5e7eb!important;
}

.dark .stepBox.active,
[data-theme="dark"] .stepBox.active{
  background:#0dff00!important;
  color:#000!important;
}

.dark .arrow,
[data-theme="dark"] .arrow{
  background:#0dff00!important;
  color:#000!important;
}

.dark .check,
[data-theme="dark"] .check{
  background:#22c55e!important;
  color:#000!important;
}

.dark .stepBox,
[data-theme="dark"] .stepBox{
  box-shadow:0 0 30px rgba(34, 255, 0, 0.25)!important;
}
.h2{
  text-align: center;
}
@media(max-width:768px){
  .stepBox{
    background:#fff;
    color:#000;
  }
}
/* ===== FORCE DARK MODE FOR STEPS ===== */

.dark .steps2 h2,
[data-theme="dark"] .steps2 h2{
  color:#fff!important;
}

.dark .stepBox,
[data-theme="dark"] .stepBox{
  background:#020617!important;
  border-color:#0dff00!important;
  color:#e5e7eb!important;
}

.dark .stepBox.active,
[data-theme="dark"] .stepBox.active{
  background:#0dff00!important;
  color:#000!important;
}

.dark .arrow,
[data-theme="dark"] .arrow{
  background:#0dff00!important;
  color:#000!important;
}

.dark .check,
[data-theme="dark"] .check{
  background:#22c55e!important;
  color:#000!important;
}

.dark .stepBox,
[data-theme="dark"] .stepBox{
  box-shadow:0 0 30px rgba(51, 255, 0, 0.25)!important;
}
/* ===== FORCE DARK MODE FOR STEPS ===== */

.dark .steps2 h2,
[data-theme="dark"] .steps2 h2{
  color:#fff!important;
}

.dark .stepBox,
[data-theme="dark"] .stepBox{
  background:#020617!important;
  border-color:#0dff00!important;
  color:#e5e7eb!important;
}

.dark .stepBox.active,
[data-theme="dark"] .stepBox.active{
  background:#0dff00!important;
  color:#000!important;
}

.dark .arrow,
[data-theme="dark"] .arrow{
  background:#0dff00!important;
  color:#000!important;
}

.dark .check,
[data-theme="dark"] .check{
  background:#22c55e!important;
  color:#000!important;
}

.dark .stepBox,
[data-theme="dark"] .stepBox{
  box-shadow:0 0 30px rgba(34, 255, 0, 0.25)!important;
}
h3{
  color: #b6b6b6;
}
.p-start{
  color: #000;
}
.support-section{
  padding:60px 0;
  font-family: IRANSans, sans-serif;
}

.support-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.phone-box{
  position:relative;
}

.phone-box::before{
  content:'';
  position:absolute;
  width:520px;
  height:380px;
  background:#0dff00;
  border-radius:50%;
  right:-100px;
  top:10%;
  z-index:-1;
}

.avatar{
  width:60%;
}

.speech{
  position:absolute;
  top:40px;
  left:-80px;
  background:#fff;
  padding:15px 20px;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.1);
  font-size:14px;
}

.form-box{
  width:380px;
  background:#3a3a3a;
  padding:30px;
  border-radius:18px;
  box-shadow: 0 0 25px rgba(143, 255, 118, 0.4);
}

.form-box h2{
  margin-bottom:10px;
  color: #ffffff;
}

.form-box input{
  width:100%;
  padding:12px;
  margin-top:15px;
  border-radius:10px;
  background-color: #9e9e9e;
  border:1px solid #ffffff;
}

.form-box button{
  width:100%;
  margin-top:20px;
  padding:14px;
  border:none;
  border-radius:12px;
  background:#b0ff8b;
  color:#000000;
  font-size:16px;
  cursor:pointer;
}
.h2-need{
  color: rgb(246, 244, 244);
}
.p-help{
    color: rgb(255, 255, 255);
}

/* ================= RESPONSIVE FIX PACK ================= */

/* ---------- Tablets & small laptops ---------- */
@media (max-width: 1024px) {

  .logo{
    width:auto;
    padding:0 15px;
    font-size:24px;
  }

  .hero{
    height:420px;
  }

  .heroText h1,
  #typingText{
    font-size:30px;
  }

  .stepsRow{
    gap:30px;
  }
}

/* ---------- Tablets ---------- */
@media (max-width: 900px) {

  .eduNav{
    flex-wrap:wrap;
    gap:15px;
  }

  .card{
    width:200px;
  }

  .support-container{
    flex-direction:column;
    gap:40px;
    text-align:center;
  }

  .phone-box::before{
    display:none;
  }

  .avatar{
    width:70%;
    margin:auto;
  }

  .form-box{
    width:100%;
    max-width:420px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {

  body{
    font-size:14px;
  }

  /* nav */
  .topNav{
    padding:0 10px;
  }

  .logo{
    font-size:22px;
  }

  .eduNav{
    font-size:14px;
  }

  /* hero */
  .hero{
    height:auto;
    padding:80px 20px;
  }

  .heroText h1,
  #typingText{
    font-size:24px;
    line-height:1.6;
  }

  /* slider */
  .slider{
    gap:25px;
  }

  .card{
    width:100%;
    max-width:280px;
  }

  /* steps */
  .steps2{
    padding:60px 20px;
    text-align:center;
  }

  .stepBox{
    width:100%;
    max-width:320px;
    height:auto;
  }

  .check{
    left:50%;
    transform:translateX(-50%);
    top:-20px;
  }

  /* why */
  .whyCard{
    padding:40px 20px;
  }

  .message{
    position:relative;
    font-size:16px;
  }

  /* support */
  .form-box{
    padding:20px;
  }

  .form-box h2{
    font-size:20px;
  }

  .form-box button{
    font-size:15px;
  }

  /* footer */
  .footerContainer{
    gap:25px;
    text-align:center;
  }

  .socials{
    justify-content:center;
  }
}

/* ---------- Small mobile ---------- */
@media (max-width: 480px){

  .heroText h1,
  #typingText{
    font-size:20px;
  }

  .eduNav a{
    font-size:13px;
  }

  .card{
    padding:15px;
  }

  .stepBox{
    padding:20px;
  }

  .arrow{
    width:40px;
    height:35px;
  }
}

