
* {
  font-family: 'Vazirmatn', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* :root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --secondary: #0f766e;
  --accent: #be123c;
  --dark: #1e293b;
  --gray: #64748b;
  --light: #f1f5f9;
  --white: #FFFFFF;
} */
:root {
--primary: #3B82F6;        
--primary-dark: #1E3A8A;   
--secondary: #06B6D4;      
--accent: #A855F7;        
--dark: #0F172A;
--gray: #6B7280;
--light: #F9FAFB;
--white: #FFFFFF;
}

/* سبز زمردی */
/* :root {
--primary: #059669;       
--primary-dark: #065F46;
--secondary: #2563EB;      
--accent: #FBBF24;        
--dark: #111827;
--gray: #6B7280;
--light: #F3F4F6;
--white: #FFFFFF;
} */

/* :root {
  --primary: #7C3AED;        
  --primary-dark: #5B21B6;
  --secondary: #EC4899;      
  --accent: #38BDF8;         
  --dark: #1E1B4B;
  --gray: #71717A;
  --light: #F8FAFC;
  --white: #FFFFFF;
} */

body {
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

/* Logo Design */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* .logo-icon::before {
  content: "R";
  color: var(--white);
  font-size: 28px;
  font-weight: 900;
} */

.logo-text {
  font-size: 1.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 16px 0;
  transition: all 0.3s;
}
.navbar-colored {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .navbar-colored .nav-link {
    color: var(--white);
  }

  .navbar-colored .nav-link:hover,
  .navbar-colored .nav-link.active::after {
    color: var(--light);
  }

  
.navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: var(--dark);
  font-weight: 600;
  padding: 8px 16px;
  transition: all 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 16px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 32px);
}

.nav-link:hover {
  color: var(--primary);
}

.btn-nav {
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.btn-login {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-login:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-register {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  margin-right: 12px;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
}

/* Hero Section */
.hero {
  min-height: 95vh;
  background-image: linear-gradient(135deg, rgba(30, 64, 175, 0.85) 0%, rgba(15, 118, 110, 0.85) 100%), 
                    url('../images/1.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
}

/* برای تغییر عکس، فقط URL داخل url('...') را تغییر دهید */

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out;
}

.hero p.lead {
  font-size: 1.35rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 32px;
  animation: fadeInUp 1s ease-out;
}

.hero-image {
  animation: fadeInRight 1.2s ease-out;
  position: relative;
  z-index: 2;
}

.hero-image img {
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 90%;
}

.btn-hero {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 16px;
  transition: all 0.3s;
  border: none;
  margin: 8px;
}

.btn-primary-hero {
  background: var(--white);
  color: var(--primary);
}

.btn-primary-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.4);
}

.btn-outline-hero {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-hero:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-4px);
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: var(--light);
}

.stat-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  border: 2px solid transparent;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15);
  border-color: var(--primary);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.stat-label {
  color: var(--gray);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Features Section */
.features-section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  color: var(--dark);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 20px auto 0;
  border-radius: 10px;
}

.feature-card {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s;
  border: 2px solid transparent;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
  border-color: var(--primary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--white);
  transition: all 0.4s;
}
.feature-icon2 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--white);
  transition: all 0.4s;
}
.feature-card:hover .feature-icon {
  transform: rotate(360deg) scale(1.1);
}

.feature-card h5 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Social Stats Section */
.social-stats-section {
  padding: 100px 0;
  background: var(--light);
}

.social-stats-card {
  background: var(--white);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.social-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.social-header h4 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
}

.badge-growth {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
}

.social-stat-item {
  text-align: center;
  padding: 24px;
  border-left: 2px solid var(--light);
}

.social-stat-item:last-child {
  border-left: none;
}

.social-stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

.social-stat-label {
  color: var(--gray);
  font-size: 0.95rem;
}

.progress-custom {
  height: 12px;
  border-radius: 10px;
  background: var(--light);
  overflow: hidden;
  margin-top: 12px;
}

.progress-bar-custom {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 10px;
  transition: width 1.5s ease;
}

/* Brands Section */
.brands-section {
  padding: 80px 0;
  background: var(--white);
}

.brand-logo {
  height: 50px;
  margin: 20px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s;
}

.brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Services/Pricing Section */
.how-it-works {
  padding: 100px 0;
  background: var(--light);
}
.services-section {
  padding: 100px 0;
  background: var(--light);
}

.service-card {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s;
  border: 3px solid transparent;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.4s;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
  border-color: var(--primary);
}

.service-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 201, 167, 0.05));
}

.service-card h5 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.service-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin: 24px 0;
}

.btn-service {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  transition: all 0.3s;
  margin-top: 24px;
}

.btn-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 102, 255, 0.4);
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
}

.testimonial-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s;
  height: 100%;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 6rem;
  color: var(--primary);
  opacity: 0.1;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(0, 102, 255, 0.15);
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid var(--primary);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 24px;
}

.testimonial-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.testimonial-role {
  color: var(--gray);
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 15s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.btn-cta {
  background: var(--white);
  color: var(--primary);
  padding: 18px 48px;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 16px;
  border: none;
  transition: all 0.3s;
}

.btn-cta:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 16px 48px rgba(255, 255, 255, 0.4);
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer h5 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--white);
  padding-right: 8px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: translateY(-4px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.5rem; }
  .section-title { font-size: 2.2rem; }
  .social-stat-item { border-left: none; border-bottom: 2px solid var(--light); }
  .social-stat-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .hero { padding: 60px 0 40px; }
  .hero h1 { font-size: 2rem; }
  .hero p.lead { font-size: 1.1rem; }
  .cta-section h2 { font-size: 2rem; }
  .stat-number { font-size: 2.5rem; }
}
