
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: white;
}

/* HEADER */
header {
  position: relative;
  display: flex;
  align-items: center;
  padding: 20px 60px;
  border-bottom: 1px solid #eee;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 2;
}

/* هدر اصلی بالای صفحه */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 8px 16px;
  margin-bottom: 16px;
}

/* لوگو سمت راست */
.site-header .logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e88e5;
}

/* بخش کاربر / دکمه ورود-خروج سمت چپ */
.top-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* نمایش نام کاربر */
.user-chip {
  font-size: .9rem;
  color: #444;
}

/* دکمه‌ی آبی ورود/خروج */
.btn-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 16px;
  background: #1e88e5;
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #1565c0;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .05s;
}

.btn-auth:hover {
  background: #1565c0;
  border-color: #0d47a1;
}

.btn-auth:active {
  transform: translateY(1px);
}

nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav li {
  position: relative;
  cursor: pointer;
}

nav li:hover ul {
  display: block;
}

nav li ul {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  min-width: 120px;
  z-index: 100;
}

nav li ul li {
  padding: 5px 10px;
  white-space: nowrap;
}

nav li ul li:hover {
  background: #f0f0f0;
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding-top: 150px;
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
}

.line1 {
  font-size: 90px;
  font-weight: 700;
  letter-spacing: -4.75px;
  line-height: 95px;
  color: rgb(0, 0, 0);
}

.line2 {
  font-size: 120px;
  font-weight: 700;
  letter-spacing: -8.3px;
  margin-top: -10px;
  line-height: 172px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gradient-text {
  background: linear-gradient(88.93deg, #2A82EB 18.91%, #03CFC2 79.91%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.description {
  margin-top: 20px;
  font-size: 1.3rem;
  color: #555;
  max-width: 700px;
  margin-inline: auto;
}

.buttons {
  margin-top: 30px;
}

.buttons button {
  padding: 12px 24px;
  font-size: 1rem;
  margin: 0 10px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  border-radius: 25px;
  transition: background 0.2s;
}

.buttons button:hover {
  background-color: #f0f0f0;
}

/* Responsive based on ton.org style */
@media (max-width: 1280px) {
  .line1 {
    font-size: 80px;
    line-height: 90px;
  }
  .line2 {
    font-size: 100px;
    line-height: 140px;
  }
}

@media (max-width: 1024px) {
  .line1 {
    font-size: 64px;
    line-height: 80px;
  }
  .line2 {
    font-size: 80px;
    line-height: 110px;
  }
}

@media (max-width: 834px) {
  .line1 {
    font-size: 50px;
    line-height: 65px;
  }
  .line2 {
    font-size: 66px;
    line-height: 90px;
  }
}

@media (max-width: 734px) {
  .line1 {
    font-size: 38px;
    line-height: 50px;
  }
  .line2 {
    font-size: 52px;
    line-height: 70px;
  }

  .description {
    font-size: 1rem;
    padding: 0 15px;
  }

  .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .buttons button {
    width: 100%;
    max-width: 250px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  nav {
    position: static;
    transform: none;
  }
}

body {
  font-family: 'Vazirmatn', system-ui, sans-serif;
  direction: ltr;
  text-align: left;
  margin: 0;
  padding: 0;
  min-height: 100vh;          
  display: flex;
  flex-direction: column;    
}

    .gradient-text {
      font-family: 'Inter', sans-serif; 
    }

    /* ===== Footer ===== */
    .site-footer{
      padding: 16px 20px;
      background: #f8f9fb;
      border-top: 1px solid #e6e8ee;
      font-size: 0.95rem;
      line-height: 1.9;
    }
    .footer-grid{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }
    .footer-info a{
      color: inherit;
      text-decoration: none;
    }
    .footer-info a:hover{
      text-decoration: underline;
    }
    .footer-powered{
      font-family: 'Inter', sans-serif;
      opacity: .9;
      white-space: nowrap;
    }
    .footer-powered b{
      font-weight: 700;
    }
    address{
      font-style: normal;
      margin: 0;
    }

        /* TOPPPP LOGIN */
        .top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  font-family: inherit;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px;
}


.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111827;
  font-size: 14px;
}

.user-icon {
  width: 16px !important;  
  height: 16px !important;
  display: inline-block;
  fill: currentColor;
  flex-shrink: 0;
}


.btn-auth {
  border: none;
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
  color: #111827;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.btn-auth:hover {
  background: #f3f4f6;
}

.btn-auth:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
