:root {
  --primary-purple: #5d3fd3;
  --primary-purple-light: #7b68ee;
  --purple-glow: rgba(93, 63, 211, 0.3);
  --dark: #0a0a0f;
  --dark-surface: #12121a;
  --dark-elevated: #1a1a24;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.6);
  --success-color: #27ca3f;
  --warning-color: #ffbd2e;
}

.documentation-coming-soon {
  background: var(--dark);
  color: var(--text-primary);
  overflow-x: hidden;
}

.docs-hero-animated {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-grid-animated {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  opacity: 0.1;
}

.grid-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--primary-purple) 50%,
    transparent 100%
  );
  animation: gridLine 8s ease-in-out infinite;
}

.grid-line:nth-child(2) {
  animation-delay: 1s;
}
.grid-line:nth-child(3) {
  animation-delay: 2s;
}
.grid-line:nth-child(4) {
  animation-delay: 3s;
}

@keyframes gridLine {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.3;
  }
}
.bg-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(93, 63, 211, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-purple);
  opacity: 0.5;
}

.element-1 {
  top: 20%;
  left: 10%;
  animation: float 20s infinite ease-in-out;
}

.element-2 {
  top: 60%;
  right: 15%;
  animation: float 25s infinite ease-in-out reverse;
}

.element-3 {
  bottom: 30%;
  left: 20%;
  animation: float 30s infinite ease-in-out;
}

.element-4 {
  top: 40%;
  right: 5%;
  animation: float 22s infinite ease-in-out reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(20px) rotate(-5deg);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
}

.countdown-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(10px);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(93, 63, 211, 0.1);
  }
  50% {
    box-shadow: 0 0 40px rgba(93, 63, 211, 0.2);
  }
}

.countdown-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.countdown-title .icon {
  font-size: 1.5rem;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-family: "Vazir", monospace;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.time-value {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--primary-purple-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px var(--purple-glow);
  line-height: 1;
  margin-bottom: 5px;
}

.time-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.time-separator {
  font-size: 2rem;
  color: var(--primary-purple);
  margin-bottom: 20px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0.3;
  }
}

.main-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.title-part {
  display: block;
  color: var(--text-primary);
}

.title-highlight {
  color: var(--primary-purple);
  position: relative;
  display: inline-block;
}

.title-highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--primary-purple) 0%,
    transparent 100%
  );
  opacity: 0.3;
  border-radius: 4px;
  z-index: -1;
}

.hero-description {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.animated-center-icon {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 50px;
}

.main-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: rgba(93, 63, 211, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-purple);
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  25% {
    transform: translate(-50%, -53%) rotate(5deg);
  }
  75% {
    transform: translate(-50%, -47%) rotate(-5deg);
  }
}

.icon-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--primary-purple);
  border-radius: 50%;
  opacity: 0.2;
}

.ring-1 {
  width: 160px;
  height: 160px;
  animation: ringPulse 3s infinite;
}

.ring-2 {
  width: 180px;
  height: 180px;
  animation: ringPulse 3s infinite 0.5s;
}

.ring-3 {
  width: 200px;
  height: 200px;
  animation: ringPulse 3s infinite 1s;
}

@keyframes ringPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.2;
  }
  50% {
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0;
  }
}

.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary-purple);
  border-radius: 50%;
  filter: blur(2px);
}

.sparkle-1 {
  top: 20%;
  left: 30%;
  animation: sparkleMove 4s infinite;
}

.sparkle-2 {
  top: 60%;
  right: 25%;
  animation: sparkleMove 4s infinite 1s;
}

.sparkle-3 {
  bottom: 30%;
  left: 40%;
  animation: sparkleMove 4s infinite 2s;
}

@keyframes sparkleMove {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.3;
  }
}

.progress-section {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.progress-stats {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--primary-purple-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.progress-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 30px;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    90deg,
    var(--primary-purple),
    var(--primary-purple-light)
  );
  border-radius: 6px;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-indicator {
  position: absolute;
  top: -5px;
  left: 0;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--primary-purple);
  transform: translateX(-50%);
  z-index: 2;
  animation: indicatorMove 2s ease-in-out infinite;
}

@keyframes indicatorMove {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.2);
  }
}

.progress-milestones {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.milestone-dot {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.milestone.active .milestone-dot {
  background: var(--primary-purple);
  border-color: var(--primary-purple-light);
  box-shadow: 0 0 15px var(--purple-glow);
}

.milestone-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.milestone.active .milestone-label {
  color: var(--text-primary);
  font-weight: 500;
}

.features-preview {
  padding: 100px 0;
  background: var(--dark-surface);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 15px;
  line-height: 1.3;
}

.title-accent {
  display: block;
  color: var(--primary-purple);
  font-weight: 800;
  margin-bottom: 10px;
}

.title-main {
  display: block;
  font-weight: 600;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: var(--primary-purple);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
  color: var(--primary-purple);
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.card-badge {
  display: inline-block;
  background: rgba(93, 63, 211, 0.1);
  color: var(--primary-purple);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.notification-section {
  padding: 100px 0;
}

.notification-card {
  background: linear-gradient(
    135deg,
    rgba(93, 63, 211, 0.1),
    rgba(123, 104, 238, 0.05)
  );
  border: 1px solid rgba(93, 63, 211, 0.2);
  border-radius: 24px;
  padding: 50px;
  text-align: center;
  backdrop-filter: blur(10px);
  max-width: 800px;
  margin: 0 auto;
}

.card-content {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  text-align: right;
}

.card-icon {
  flex-shrink: 0;
  color: var(--primary-purple);
}

.card-text {
  flex: 1;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.1rem;
}

.notification-form {
  display: flex;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto 30px;
  align-items: center;
}

@media (max-width: 768px) {
  .notification-form {
    flex-direction: column;
  }
}

.form-group {
  flex: 1;
}

.input-wrapper {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  font-family: "Vazir", sans-serif;
  transition: all 0.3s ease;
  direction: rtl;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-purple);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(93, 63, 211, 0.1);
}

.input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
}

.btn-notify {
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--primary-purple-light)
  );
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  white-space: nowrap;
}

.btn-notify:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(93, 63, 211, 0.3);
}

.btn-notify:active {
  transform: translateY(-1px);
}

.form-agreement {
  margin-top: 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-label input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input:checked + .checkmark {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
}

.checkbox-label input:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.9rem;
}

.checkbox-text {
  flex: 1;
  text-align: right;
}

.stats-info {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: inline-block;
  text-align: center;
  padding: 0 30px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--primary-purple-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.alternative-section {
  padding: 100px 0 150px;
  background: var(--dark);
}

.alternative-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.alt-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.alt-card:hover {
  border-color: var(--primary-purple);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.alt-card .card-icon {
  color: var(--primary-purple);
  margin-bottom: 20px;
}

.alt-card .card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.alt-card .card-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-link {
  color: var(--primary-purple);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alt-card:hover .card-link {
  gap: 12px;
}

.card-link::before {
  content: "→";
  font-size: 1.1rem;
  transform: rotate(180deg);
  display: inline-block;
}

@media (max-width: 992px) {
  .countdown-timer {
    gap: 10px;
  }

  .time-unit {
    min-width: 70px;
  }

  .time-value {
    font-size: 2.5rem;
  }

  .card-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .docs-hero-animated {
    padding: 80px 0 60px;
    min-height: auto;
  }

  .countdown-timer {
    flex-wrap: wrap;
  }

  .time-unit {
    min-width: 60px;
  }

  .time-value {
    font-size: 2rem;
  }

  .main-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .features-grid,
  .alternative-cards {
    grid-template-columns: 1fr;
  }

  .notification-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .countdown-wrapper {
    padding: 15px;
  }

  .countdown-title {
    flex-direction: column;
    gap: 5px;
  }

  .time-unit {
    min-width: 55px;
  }

  .time-value {
    font-size: 1.8rem;
  }

  .time-separator {
    font-size: 1.5rem;
  }

  .progress-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .milestone-label {
    font-size: 0.75rem;
  }
}
