/* فونت ها و ریست پایه */
@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/IRANSans.ttf') format('truetype');
  font-weight: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'IRANSans', sans-serif;
  direction: rtl;
  text-align: right;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* استایل هدر */
.header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.logo-icon {
  margin-left: 10px;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
  color: #0066CC;
}

.main-nav .nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin: 0 15px;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #0066CC;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #00AA55;
}

.auth-buttons .btn {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-primary {
  border: 1px solid #0066CC;
  color: #0066CC;
  background: transparent;
}

.btn-outline-primary:hover {
  background-color: #0066CC;
  color: white;
}

.auth-buttons .btn i {
  margin-left: 8px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-icon {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

.hamburger-icon::before {
  top: -8px;
}

.hamburger-icon::after {
  bottom: -8px;
}

/* استایل فوتر */
.footer {
  background-color: #0a1a35;
  color: #ffffff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
  padding-right: 20px;
}

.footer-heading {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: #00AA55;
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-info p i {
  margin-left: 10px;
  color: #00AA55;
}

.social-icons {
  display: flex;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-left: 10px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #00AA55;
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00AA55;
}

.newsletter-form .form-group {
  display: flex;
  margin-top: 15px;
}

.form-control {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: 'IRANSans', sans-serif;
}

.newsletter-form .btn {
  padding: 10px 15px;
  background-color: #00AA55;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form .btn:hover {
  background-color: #008844;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.copyright {
  color: #999;
  font-size: 14px;
}

.footer-bottom-links a {
  color: #cccccc;
  text-decoration: none;
  margin-right: 20px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #00AA55;
}

/* بخش هیرو */
.hero-section {
  position: relative;
  background-color: #0066CC; /* رنگ پیش فرض در صورت عدم بارگذاری تصویر */
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 170, 85, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 30px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn {
  margin: 0 10px;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #FF6B00;
  border-color: #FF6B00;
}

.btn-primary:hover {
  background-color: #E55E00;
  border-color: #E55E00;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.btn-outline-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
}

/* بخش مزایا */
.benefits-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0a1a35;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.benefit-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0066CC 0%, #00AA55 100%);
  border-radius: 50%;
  color: white;
  font-size: 32px;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: rotateY(180deg);
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0a1a35;
}

.benefit-description {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* بخش نحوه کارکرد */
.how-it-works-section {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  opacity: 0.5;
  transition: all 0.5s ease;
}

.timeline-step.active {
  opacity: 1;
}

.timeline-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0066CC 0%, #00AA55 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-left: 20px;
  position: relative;
  z-index: 2;
}

.timeline-content {
  flex: 1;
  padding: 15px 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #0a1a35;
}

.timeline-content p {
  color: #666;
  margin-bottom: 0;
}

.timeline-progress {
  position: absolute;
  top: 30px;
  bottom: 30px;
  right: 30px;
  width: 3px;
  background-color: #e9ecef;
}

.timeline-progress-bar {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, #0066CC 0%, #00AA55 100%);
  transition: height 0.5s ease;
}

/* بخش دمو */
.demo-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.demo-content {
  padding-left: 30px;
}

.section-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.7;
}

.demo-buttons .btn {
  margin-left: 10px;
  padding: 10px 25px;
  border-radius: 5px;
}

.ticket-preview {
  display: flex;
  justify-content: center;
}

.ticket-card {
  width: 320px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.ticket-header {
  background: linear-gradient(135deg, #0066CC 0%, #00AA55 100%);
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticket-logo {
  display: flex;
  align-items: center;
}

.ticket-logo .logo-text {
  color: white;
  font-size: 16px;
  margin-right: 8px;
}

.ticket-event {
  font-size: 1.2rem;
  font-weight: 600;
}

.ticket-body {
  padding: 20px;
}

.ticket-qr {
  text-align: center;
  margin-bottom: 20px;
}

#dynamic-qr {
  display: inline-block;
  padding: 10px;
  background-color: white;
  border-radius: 5px;
}

.qr-refresh {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666;
}

.refresh-countdown {
  font-weight: bold;
  color: #FF6B00;
}

.ticket-info {
  border-top: 1px dashed #ddd;
  padding-top: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.info-label {
  color: #666;
}

.info-value {
  font-weight: 600;
  color: #333;
}

.ticket-footer {
  background-color: #f8f9fa;
  padding: 15px;
  font-size: 0.9rem;
  color: #666;
}

/* بخش آمار */
.stats-section {
  padding: 80px 0;
  background-color: #0a1a35;
  color: white;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
}

.stat-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: #00AA55;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #0066CC 0%, #00AA55 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-text {
  font-size: 1.1rem;
}

/* بخش مشتریان و همکاران */
.partners-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.partner-logo {
  padding: 20px 40px;
  opacity: 0.7;
  transition: all 0.3s ease;
  color: #0066CC;
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* بخش CTA نهایی */
.final-cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0066CC 0%, #00AA55 100%);
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  margin-top: 30px;
}

.cta-buttons .btn-primary {
  background-color: #FF6B00;
  border-color: #FF6B00;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-buttons .btn-primary:hover {
  background-color: #E55E00;
  border-color: #E55E00;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: block;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.contact-link:hover {
  text-decoration: underline;
  transform: translateY(-2px);
}