Hamed744 commited on
Commit
34eeb39
·
verified ·
1 Parent(s): e8a042e

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +57 -48
index.html CHANGED
@@ -542,11 +542,11 @@
542
  }
543
  }
544
 
545
- /* --- دکمه اختصاصی هوش مصنوعی با مرز چرخان لیزری (پس‌زمینه سفید) --- */
546
  .ai-laser-hero-btn {
547
  width: 100%;
548
- padding: 20px 24px;
549
- border-radius: 20px;
550
  border: 1px solid transparent;
551
  cursor: pointer;
552
  display: flex;
@@ -558,10 +558,10 @@
558
  position: relative;
559
  z-index: 0;
560
  overflow: hidden;
561
- background: #eef2ff;
562
  color: #312e81;
563
- box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
564
- transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
565
  font-family: var(--app-font);
566
  margin-bottom: 2.5rem; /* فاصله تا گویندگان */
567
  box-sizing: border-box;
@@ -572,7 +572,7 @@
572
  position: absolute;
573
  top: 50%; left: 50%;
574
  width: 150%; height: 500%;
575
- background: conic-gradient(from 0deg, transparent 0%, transparent 70%, #00f2fe 80%, #4facfe 100%);
576
  transform: translate(-50%, -50%) rotate(0deg);
577
  animation: spinBg 4s linear infinite;
578
  z-index: -2;
@@ -582,8 +582,8 @@
582
  content: '';
583
  position: absolute;
584
  inset: 2px; /* ضخامت خط چرخان */
585
- background: #eef2ff; /* پس‌زمینه داخلی دکمه (مهِ نیلی پاستلی) */
586
- border-radius: 18px;
587
  z-index: -1;
588
  }
589
 
@@ -593,80 +593,86 @@
593
 
594
  .ai-laser-hero-btn:hover {
595
  transform: translateY(-2px);
596
- box-shadow: 0 15px 30px -5px rgba(79, 172, 254, 0.15);
597
  }
598
 
599
  .ai-laser-hero-btn .pro-btn-content {
600
  display: flex;
601
  align-items: center;
602
- gap: 18px;
603
  z-index: 2;
 
604
  }
605
 
606
  .ai-laser-hero-btn .pro-icon-box {
607
- width: 52px;
608
- height: 52px;
609
- border-radius: 16px;
610
  display: flex;
611
  align-items: center;
612
  justify-content: center;
613
  flex-shrink: 0;
614
- background: #f1f5f9;
615
- border: 1px solid #e2e8f0;
616
- color: #4facfe;
617
- transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
618
  }
619
 
620
  .ai-laser-hero-btn .pro-icon-box svg {
621
- width: 26px;
622
- height: 26px;
623
- stroke-width: 1.8;
624
  }
625
 
626
  .ai-laser-hero-btn .pro-text {
627
  display: flex;
628
  flex-direction: column;
629
- gap: 6px;
630
  z-index: 2;
 
631
  }
632
 
633
  .ai-laser-hero-btn .pro-title {
634
- font-size: 1.25rem;
635
  font-weight: 800;
636
- line-height: 1.2;
637
- letter-spacing: -0.5px;
638
  color: #1e1b4b;
 
639
  }
640
 
641
  .ai-laser-hero-btn .pro-subtitle {
642
- font-size: 0.9rem;
643
  font-weight: 500;
644
  color: #4f46e5;
 
 
 
645
  }
646
 
647
  .ai-laser-hero-btn .pro-action {
648
- width: 44px;
649
- height: 44px;
650
  border-radius: 50%; /* دایره‌ای کردن کامل به جای مستطیل متنی */
651
  display: flex;
652
  align-items: center;
653
  justify-content: center;
654
- background: rgba(79, 172, 254, 0.1);
655
- color: #4facfe;
656
- border: 1px solid rgba(79, 172, 254, 0.2);
657
  z-index: 2;
658
  flex-shrink: 0;
659
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
660
  }
661
 
662
  .ai-laser-hero-btn .pro-action svg {
663
- width: 18px;
664
- height: 18px;
665
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
666
  }
667
 
668
  .ai-laser-hero-btn:hover .pro-action {
669
- background: #4facfe;
670
  color: #ffffff;
671
  border-color: transparent;
672
  }
@@ -675,6 +681,10 @@
675
  transform: translateX(-6px);
676
  }
677
 
 
 
 
 
678
  /* --- کدهای اختصاصی برای نمایش منظم دکمه در صفحات موبایل --- */
679
  @media (max-width: 600px) {
680
  .ai-laser-hero-btn {
@@ -683,40 +693,40 @@
683
  margin-right: -1rem;
684
  margin-left: -1rem;
685
 
686
- padding: 20px 16px; /* افزایش پدینگ عمودی جهت بزرگتر و ضخیم‌تر شدن ارتفاع دکمه */
687
- border-radius: 16px;
688
  margin-bottom: 2.2rem;
689
  }
690
  .ai-laser-hero-btn::after {
691
- border-radius: 14px;
692
  inset: 1px;
693
  }
694
  .ai-laser-hero-btn .pro-btn-content {
695
  gap: 8px;
696
  }
697
  .ai-laser-hero-btn .pro-icon-box {
698
- width: 42px;
699
- height: 42px;
700
- border-radius: 12px;
701
  }
702
  .ai-laser-hero-btn .pro-icon-box svg {
703
- width: 22px;
704
- height: 22px;
705
  }
706
  .ai-laser-hero-btn .pro-text {
707
- gap: 2px;
708
  }
709
  .ai-laser-hero-btn .pro-title {
710
- font-size: 1.05rem;
711
  white-space: nowrap;
712
  }
713
  .ai-laser-hero-btn .pro-subtitle {
714
- font-size: 0.8rem;
715
  white-space: nowrap;
716
  }
717
  .ai-laser-hero-btn .pro-action {
718
- width: 36px;
719
- height: 36px;
720
  }
721
  .ai-laser-hero-btn .pro-action svg {
722
  width: 14px;
@@ -745,7 +755,6 @@
745
  <span class="pro-subtitle">صفر تا صد با AI (اینجا کلیک کنید)</span>
746
  </div>
747
  </div>
748
- <!-- دکمه اکشن به شکل یک دایره فاقد متن و با آیکون هدایت‌کننده مدرن -->
749
  <div class="pro-action">
750
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="M15 18l-6-6 6-6"/></svg>
751
  </div>
 
542
  }
543
  }
544
 
545
+ /* --- دکمه اختصاصی هوش مصنوعی با مرز چرخان لیزری (نسخه کوچک و فشرده) --- */
546
  .ai-laser-hero-btn {
547
  width: 100%;
548
+ padding: 13px 16px;
549
+ border-radius: 16px;
550
  border: 1px solid transparent;
551
  cursor: pointer;
552
  display: flex;
 
558
  position: relative;
559
  z-index: 0;
560
  overflow: hidden;
561
+ background: linear-gradient(135deg, #eef2ff 0%, #ecfdf9 100%);
562
  color: #312e81;
563
+ box-shadow: 0 6px 16px -6px rgba(74, 108, 250, 0.22);
564
+ transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
565
  font-family: var(--app-font);
566
  margin-bottom: 2.5rem; /* فاصله تا گویندگان */
567
  box-sizing: border-box;
 
572
  position: absolute;
573
  top: 50%; left: 50%;
574
  width: 150%; height: 500%;
575
+ background: conic-gradient(from 0deg, transparent 0%, transparent 70%, var(--accent-secondary) 80%, var(--accent-primary) 100%);
576
  transform: translate(-50%, -50%) rotate(0deg);
577
  animation: spinBg 4s linear infinite;
578
  z-index: -2;
 
582
  content: '';
583
  position: absolute;
584
  inset: 2px; /* ضخامت خط چرخان */
585
+ background: linear-gradient(135deg, #eef2ff 0%, #ecfdf9 100%);
586
+ border-radius: 14px;
587
  z-index: -1;
588
  }
589
 
 
593
 
594
  .ai-laser-hero-btn:hover {
595
  transform: translateY(-2px);
596
+ box-shadow: 0 10px 22px -6px rgba(74, 108, 250, 0.3);
597
  }
598
 
599
  .ai-laser-hero-btn .pro-btn-content {
600
  display: flex;
601
  align-items: center;
602
+ gap: 12px;
603
  z-index: 2;
604
+ min-width: 0;
605
  }
606
 
607
  .ai-laser-hero-btn .pro-icon-box {
608
+ width: 38px;
609
+ height: 38px;
610
+ border-radius: 11px;
611
  display: flex;
612
  align-items: center;
613
  justify-content: center;
614
  flex-shrink: 0;
615
+ background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
616
+ color: #fff;
617
+ box-shadow: 0 4px 10px -2px rgba(74, 108, 250, 0.45);
618
+ transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
619
  }
620
 
621
  .ai-laser-hero-btn .pro-icon-box svg {
622
+ width: 19px;
623
+ height: 19px;
624
+ stroke-width: 2;
625
  }
626
 
627
  .ai-laser-hero-btn .pro-text {
628
  display: flex;
629
  flex-direction: column;
630
+ gap: 1px;
631
  z-index: 2;
632
+ min-width: 0;
633
  }
634
 
635
  .ai-laser-hero-btn .pro-title {
636
+ font-size: 1rem;
637
  font-weight: 800;
638
+ line-height: 1.25;
639
+ letter-spacing: -0.3px;
640
  color: #1e1b4b;
641
+ white-space: nowrap;
642
  }
643
 
644
  .ai-laser-hero-btn .pro-subtitle {
645
+ font-size: 0.78rem;
646
  font-weight: 500;
647
  color: #4f46e5;
648
+ white-space: nowrap;
649
+ overflow: hidden;
650
+ text-overflow: ellipsis;
651
  }
652
 
653
  .ai-laser-hero-btn .pro-action {
654
+ width: 32px;
655
+ height: 32px;
656
  border-radius: 50%; /* دایره‌ای کردن کامل به جای مستطیل متنی */
657
  display: flex;
658
  align-items: center;
659
  justify-content: center;
660
+ background: rgba(74, 108, 250, 0.1);
661
+ color: var(--accent-primary);
662
+ border: 1px solid rgba(74, 108, 250, 0.2);
663
  z-index: 2;
664
  flex-shrink: 0;
665
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
666
  }
667
 
668
  .ai-laser-hero-btn .pro-action svg {
669
+ width: 15px;
670
+ height: 15px;
671
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
672
  }
673
 
674
  .ai-laser-hero-btn:hover .pro-action {
675
+ background: var(--accent-primary);
676
  color: #ffffff;
677
  border-color: transparent;
678
  }
 
681
  transform: translateX(-6px);
682
  }
683
 
684
+ .ai-laser-hero-btn:hover .pro-icon-box {
685
+ transform: scale(1.08) rotate(-4deg);
686
+ }
687
+
688
  /* --- کدهای اختصاصی برای نمایش منظم دکمه در صفحات موبایل --- */
689
  @media (max-width: 600px) {
690
  .ai-laser-hero-btn {
 
693
  margin-right: -1rem;
694
  margin-left: -1rem;
695
 
696
+ padding: 12px 14px;
697
+ border-radius: 14px;
698
  margin-bottom: 2.2rem;
699
  }
700
  .ai-laser-hero-btn::after {
701
+ border-radius: 12px;
702
  inset: 1px;
703
  }
704
  .ai-laser-hero-btn .pro-btn-content {
705
  gap: 8px;
706
  }
707
  .ai-laser-hero-btn .pro-icon-box {
708
+ width: 34px;
709
+ height: 34px;
710
+ border-radius: 10px;
711
  }
712
  .ai-laser-hero-btn .pro-icon-box svg {
713
+ width: 17px;
714
+ height: 17px;
715
  }
716
  .ai-laser-hero-btn .pro-text {
717
+ gap: 1px;
718
  }
719
  .ai-laser-hero-btn .pro-title {
720
+ font-size: 0.9rem;
721
  white-space: nowrap;
722
  }
723
  .ai-laser-hero-btn .pro-subtitle {
724
+ font-size: 0.7rem;
725
  white-space: nowrap;
726
  }
727
  .ai-laser-hero-btn .pro-action {
728
+ width: 30px;
729
+ height: 30px;
730
  }
731
  .ai-laser-hero-btn .pro-action svg {
732
  width: 14px;
 
755
  <span class="pro-subtitle">صفر تا صد با AI (اینجا کلیک کنید)</span>
756
  </div>
757
  </div>
 
758
  <div class="pro-action">
759
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="M15 18l-6-6 6-6"/></svg>
760
  </div>