/* css/style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background: #0b0d15;
  color: #eaeef2;
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* particles background */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 20% 30%, #1a1f2e, #0b0d15 70%);
  opacity: 0.6;
}
#particles::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 10% 20%, #6c8cff, transparent),
    radial-gradient(2px 2px at 30% 60%, #a78bfa, transparent),
    radial-gradient(3px 3px at 50% 10%, #60a5fa, transparent),
    radial-gradient(2px 2px at 70% 80%, #818cf8, transparent),
    radial-gradient(2px 2px at 90% 40%, #7c3aed, transparent);
  background-size: 200px 200px;
  background-repeat: repeat;
  opacity: 0.2;
  animation: floatParticles 40s linear infinite;
}
@keyframes floatParticles {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-30px, -20px) rotate(2deg); }
}

/* navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 13, 21, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 0;
  transition: background 0.3s;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
}
.nav-menu a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.nav-menu a:hover {
  color: #a78bfa;
}
.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn-outline {
  padding: 6px 16px;
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 30px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: rgba(167, 139, 250, 0.15);
  border-color: #a78bfa;
}
.btn-primary {
  padding: 8px 22px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
}
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #eaeef2;
}

/* hero */
.hero {
  padding: 140px 0 80px;
  position: relative;
  z-index: 1;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-content {
  flex: 1 1 500px;
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-sub {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 30px;
  max-width: 600px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-illustration {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.illustration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 280px;
}
.illustration-grid .icon {
  font-size: 2.4rem;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s;
}
.illustration-grid .icon:hover {
  transform: scale(1.05);
}
.mockup-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  padding: 20px 30px;
  border-radius: 40px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* countdown */
.countdown-section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.countdown-date {
  font-size: 1.3rem;
  color: #a78bfa;
  margin-bottom: 30px;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.countdown-item {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  padding: 20px 30px;
  border-radius: 30px;
  border: 1px solid rgba(167, 139, 250, 0.15);
  min-width: 80px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.countdown-item span {
  font-size: 2.8rem;
  font-weight: 700;
  color: #eaeef2;
  display: block;
}
.countdown-item small {
  color: #94a3b8;
  font-size: 0.8rem;
}

/* section titles */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #c4b5fd, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* about */
.about {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.about-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #94a3b8;
  font-size: 1.1rem;
}
.about-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.about-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  padding: 30px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  flex: 1 1 180px;
  transition: all 0.3s;
}
.about-card:hover {
  transform: translateY(-6px);
  border-color: #a78bfa;
  background: rgba(167, 139, 250, 0.08);
}
.about-card span {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 12px;
}
.about-card h3 {
  font-size: 1rem;
  font-weight: 500;
}

/* problem */
.problem {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.problem-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  font-size: 1rem;
  transition: all 0.3s;
}
.problem-card:hover {
  border-color: #f472b6;
  background: rgba(244, 114, 182, 0.06);
}

/* features */
.features {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.feature-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  padding: 24px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  transition: all 0.3s;
  font-weight: 500;
}
.feature-card:hover {
  transform: scale(1.02);
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.08);
}

/* product preview */
.product-preview {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.preview-workspace {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border-radius: 40px;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.06);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.upload-area p {
  margin-bottom: 20px;
  color: #cbd5e1;
}
.upload-types {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.upload-types span {
  background: rgba(255,255,255,0.05);
  padding: 8px 20px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.08);
}
.description-box {
  background: rgba(0,0,0,0.3);
  padding: 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  color: #94a3b8;
  border: 1px dashed rgba(167, 139, 250, 0.3);
}

/* team */
.team {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.team-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  padding: 30px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  transition: all 0.3s;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: #a78bfa;
}
.avatar {
  font-size: 3rem;
  margin-bottom: 12px;
}
.team-card h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.team-card p {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* company */
.company {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.company-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.06);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.company-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #c4b5fd;
}
.company-card p {
  color: #94a3b8;
}

/* timeline */
.timeline {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.timeline-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.step {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  padding: 16px 24px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.06);
  flex: 1 1 100px;
  text-align: center;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.step:hover {
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.08);
}

/* early access */
.early-access {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.early-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.06);
}
.early-form input {
  padding: 14px 20px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.3);
  color: #eaeef2;
  font-size: 1rem;
  font-family: 'Vazirmatn', sans-serif;
}
.early-form input::placeholder {
  color: #64748b;
}
.early-form button {
  border: none;
  cursor: pointer;
  padding: 14px;
  font-size: 1rem;
  font-family: 'Vazirmatn', sans-serif;
}
.success-message {
  text-align: center;
  color: #34d399;
  font-weight: 500;
  padding: 12px;
  background: rgba(52, 211, 153, 0.1);
  border-radius: 30px;
}

/* footer */
.footer {
  padding: 40px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h3 {
  font-size: 1.3rem;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-grid a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin: 6px 0;
  transition: color 0.3s;
}
.footer-grid a:hover {
  color: #a78bfa;
}
.social-icons {
  font-size: 1.8rem;
  display: flex;
  gap: 12px;
}
.footer-bottom {
  text-align: center;
  color: #475569;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 20px;
}

/* responsive */
@media (max-width: 768px) {
  .nav-menu, .nav-actions {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: rgba(11, 13, 21, 0.98);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-menu.active li {
    text-align: center;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .countdown-item {
    padding: 12px 20px;
    min-width: 60px;
  }
  .countdown-item span {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .about-cards, .team-grid {
    flex-direction: column;
    align-items: center;
  }
  .about-card, .team-card {
    width: 100%;
    max-width: 300px;
  }
  .preview-workspace {
    padding: 24px;
  }
  .early-form {
    padding: 24px;
  }
}

/* scroll reveal (simple) */
section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }
section:nth-child(6) { animation-delay: 0.5s; }
section:nth-child(7) { animation-delay: 0.6s; }
section:nth-child(8) { animation-delay: 0.7s; }
section:nth-child(9) { animation-delay: 0.8s; }
section:nth-child(10) { animation-delay: 0.9s; }
section:nth-child(11) { animation-delay: 1.0s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}