:root {
  --primary: #00bfa5;
  --dark: #0b2238;
  --light-bg: #f9fbfc;
  --gray-text: #6c757d;
  --border-color: #e9ecef;
  --icon-blue: #3b82f6;
  --icon-green: #10b981;
  --icon-purple: #8b5cf6;
  --icon-orange: #f59e0b;
  --icon-red: #ef4444;
  --icon-teal: #14b8a6;
  --icon-pink: #ec4899;
  --icon-indigo: #6366f1;
  --icon-cyan: #06b6d4;
  --icon-lime: #84cc16;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  min-height: 100dvh;
}
body {
  font-family: Dana, Shabnam, sans-serif !important;
  background: linear-gradient(
    180deg,
    #dbeafe 0%,
    #f0f7ff 30%,
    #ffffff 70%,
    #ffffff 100%
  );
  background-attachment: fixed;
  color: #333;
  line-height: 1.6;
  margin: 0;
  min-height: 100dvh;
  padding-top: 0px;
  scroll-behavior: smooth;
  /* overflow-x: hidden !important; */
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  overflow-x: clip;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active {
  opacity: 1;
  visibility: visible;
}
.reveal-fade-up {
  transform: translateY(50px);
}
.reveal-fade-up.active {
  transform: translateY(0);
}
.reveal-fade-down {
  transform: translateY(-40px);
}
.reveal-fade-down.active {
  transform: translateY(0);
}
.reveal-fade-left {
  transform: translateX(40px);
}
.reveal-fade-left.active {
  transform: translateX(0);
}
.reveal-fade-right {
  transform: translateX(-40px);
}
.reveal-fade-right.active {
  transform: translateX(0);
}
.reveal-scale-up {
  transform: scale(0.9);
}
.reveal-scale-up.active {
  transform: scale(1);
}
.reveal-scale-down {
  transform: scale(1.1);
}
.reveal-scale-down.active {
  transform: scale(1);
}
.reveal-rotate {
  transform: rotateY(20deg) scale(0.95);
}
.reveal-rotate.active {
  transform: rotateY(0) scale(1);
}

header {
  position: sticky !important;
  top: 10px;
  z-index: 1000;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 0px 30px;
  margin: 0 20px 20px 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--dark);
}

.logo svg {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 25px;
  font-size: 0.95rem;
  color: #555;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.9rem;
  text-align: center;
  border-radius: 999px;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border: none;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 191, 165, 0.3);
}
.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: #e6f9f6;
  transform: translateY(-2px);
}
.btn-dark {
  background-color: var(--dark);
  color: #fff;
  border: none;
}
.btn-dark:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 60px;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  text-align: right;
  min-width: 300px;
  padding-left: 20px;
}

.badge {
  background: #e6f9f6;
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero p {
  color: var(--gray-text);
  max-width: 500px;
  margin: 0 0 30px 0;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-illustration {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-width: 250px;
}

.crystal-container {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  position: relative;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease;
  overflow: hidden;
}

.crystal-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.crystal-container:hover {
  transform: scale(1.02);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 0 0 50px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: 0.4s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.feature-card img {
  width: 60px;
  height: 60px;
}
.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}
.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.8rem;
  color: var(--gray-text);
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 60px 0 30px;
}
.section-header h2 {
  font-size: 1.8rem;
  color: var(--dark);
}
.section-header .sub {
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 10px;
}

.swiper {
  width: 100%;
  padding: 10px 0 25px;
}
.swiper-slide {
  height: auto;
}
.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.market-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 4px;
  text-align: center;
  transition: 0.4s;
}
.market-card:hover {
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.market-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  margin-bottom: 12px;
}

.market-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.market-card h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}
.market-card p {
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-bottom: 15px;
}

.market-btn {
  width: 100%;
  background: transparent;
  border: 2px solid #0a3d0e;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  color: #0a3d0e;
  font-family:
    Dana,
    Shabnam sans-serif !important;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  background-color: transparent;
}
.market-btn:hover {
  background: #0a3d0e;
  color: #e8f5e9;
  border-color: #0a3d0e;
}
.market-btn:active {
  transform: scale(0.98);
}

.view-all-wrap {
  text-align: center;
  margin-top: 10px;
}
.btn-outline-wide {
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  display: inline-block;
  transition: 0.3s;
}
.btn-outline-wide:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.generic-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 20px 10px;
  text-align: center;
  transition: 0.4s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.generic-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.generic-icon {
  font-size: 2.5rem;
  margin-bottom: 5px;
}
.generic-card h4,
.generic-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--dark);
}
.generic-card p {
  font-size: 0.8rem;
  color: var(--gray-text);
}

.compact-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 18px 12px;
  text-align: center;
  transition: 0.4s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.compact-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.95);
}
.compact-icon {
  font-size: 1.8rem;
  margin-bottom: 0;
}
.compact-icon img {
  height: 88px;
}
.compact-card h4,
.compact-card h3 {
  font-size: 0.85rem;
  margin-bottom: 5px;
  color: var(--dark);
}
.compact-card p {
  font-size: 0.72rem;
  color: var(--gray-text);
  line-height: 1.4;
}

.market-tag {
  display: inline-block;
  background: #e6f9f6;
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.65rem;
  margin-bottom: 6px;
}

.all-in-one-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin: 40px 0;
}

.aio-card {
  background: rgba(248, 249, 250, 0.7);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: 0.4s;
}
.aio-card:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.aio-card .icon img {
  height: 80px;
  width: 80px;
}
.aio-card h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.aio-card p {
  font-size: 0.75rem;
  color: var(--gray-text);
}

.stats-wrapper {
  background: transparent;
  /* color: #fff; */
  border-radius: 24px;
  padding: 12px !important;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
  overflow: hidden;
}

.stat-card {
  flex: 1 1 160px;
  min-width: 160px;
  max-width: calc(100% - 24px); /* اضافه کن - جلوی overflow رو می‌گیره */
  background: rgba(11, 34, 56, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 28px 20px;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box; /* اضافه کن */
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.35);
  background: rgba(11, 34, 56, 1);
}

.stat-icon-layer {
  position: relative;
  width: 70px;
  height: 70px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-base,
.icon-accent,
.icon-spark {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.icon-base {
  font-size: 2.8rem;
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
  z-index: 2;
  animation: floatIcon 3s infinite alternate ease-in-out;
}

.icon-accent {
  font-size: 1.8rem;
  color: var(--primary);
  opacity: 0.9;
  z-index: 3;
  transform: translate(20px, -18px);
  animation: driftAccent 2.8s infinite alternate;
}

.icon-spark {
  font-size: 1.2rem;
  color: #ffd966;
  z-index: 4;
  transform: translate(-22px, 15px);
  animation: sparkFloat 2.2s infinite alternate;
}

.stat-card:nth-child(2) .icon-accent {
  color: #f59e0b;
}
.stat-card:nth-child(3) .icon-accent {
  color: #60a5fa;
}
.stat-card:nth-child(4) .icon-accent {
  color: #f472b6;
}

@keyframes floatIcon {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-5px);
  }
}
@keyframes driftAccent {
  0% {
    transform: translate(18px, -16px) scale(1);
  }
  100% {
    transform: translate(24px, -22px) scale(1.15);
  }
}
@keyframes sparkFloat {
  0% {
    transform: translate(-20px, 12px) rotate(0deg);
    opacity: 0.8;
  }
  100% {
    transform: translate(-26px, 20px) rotate(15deg);
    opacity: 1;
  }
}

.stat-card h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
  letter-spacing: 1px;
}
.stat-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  color: #e0f2fe;
  font-weight: 400;
}

.dash-section {
  margin: 60px 0;
}
.dash-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--dark);
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.dash-item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
}
.dash-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.dash-img {
  height: 150px;
  background: rgba(241, 243, 245, 0.5);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-img::after {
  content: "نمای داشبورد";
  color: #999;
  font-size: 0.8rem;
}
.dash-item p {
  padding: 10px;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(233, 236, 239, 0.8);
}
/* سکشن تیره */
.neural-section {
  background: var(--dark);
  border-radius: 40px;
  margin: 30px 0;
  padding: 40px 16px;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: white;
}
#neural-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.neural-content h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 0 20px var(--primary-glow);
  background: linear-gradient(45deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.neural-content h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 0 20px var(--primary-glow);
  background: linear-gradient(45deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.neural-content p {
  font-size: 1.4rem;
}
/* تبلت بزرگ */
@media (max-width: 1200px) {
  .neural-content h2 {
    font-size: 2.8rem;
  }
  .neural-content h3 {
    font-size: 1.6rem;
  }
  .neural-content p {
    font-size: 1.2rem;
  }
}

/* تبلت */
@media (max-width: 992px) {
  .neural-content h2 {
    font-size: 2.2rem;
  }
  .neural-content h3 {
    font-size: 1.2rem;
  }
  .neural-content p {
    font-size: 1rem;
  }
}

/* موبایل بزرگ */
@media (max-width: 768px) {
  .neural-content h2 {
    font-size: 1.8rem;
  }
  .neural-content h3 {
    font-size: 1rem;
  }
  .neural-content p {
    font-size: 0.8rem;
  }
}

.neural-content {
  position: relative;
  z-index: 2;
}

.neural-buttons {
  margin-top: 40px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-neural-light {
  background: #fff;
  color: #000;
  padding: 18px;
  border-radius: 15px;
  font-weight: 800;
  border: none;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}
.btn-neural-border {
  background: transparent;
  color: #fff;
  padding: 18px;
  border-radius: 15px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: 0.3s;
}
.btn-neural-light:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.4);
  color: #000;
}
.btn-neural-border:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.cta-section {
  position: relative;
  background: linear-gradient(135deg, #0b2238 0%, #1a3b4e 40%, #0d3540 100%);
  border-radius: 32px;
  padding: 60px 40px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 70px 0;
  flex-wrap: wrap;
  gap: 30px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1;
  transition: 0.5s;
}
.cta-section:hover {
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.wave-container {
  position: absolute;
  bottom: -20px;
  left: -30px;
  width: 130%;
  height: 220px;
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
}

.wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-path {
  animation: waveMove 7s infinite alternate cubic-bezier(0.45, 0.05, 0.25, 0.95);
  transform-origin: center;
}

.wave-path:nth-child(2) {
  animation: waveMove 5s infinite alternate-reverse
    cubic-bezier(0.45, 0.05, 0.25, 0.95);
  opacity: 0.6;
}

.wave-path:nth-child(3) {
  animation: waveMove 9s infinite alternate ease-in-out;
  opacity: 0.4;
}

@keyframes waveMove {
  0% {
    transform: translateX(0) translateY(0) scaleX(1);
  }
  100% {
    transform: translateX(-25px) translateY(12px) scaleX(1.08);
  }
}

.cta-text {
  position: relative;
  z-index: 2;
  max-width: 550px;
}
.cta-text h2 {
  font-size: 2.1rem;
  margin-bottom: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.cta-text p {
  opacity: 0.9;
  font-size: 1.1rem;
  color: #d1e0f0;
}

.cta-btn-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.btn-cta-primary {
  background: #ffffff;
  color: #0b2238;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 16px;
  border: none;
  font-size: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.3s;
  letter-spacing: 0.3px;
}
.btn-cta-primary:hover {
  background: #f0f9ff;
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4);
}

.btn-cta-outline {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-weight: 600;
  padding: 14px 34px;
  border-radius: 16px;
  font-size: 1rem;
  transition: 0.3s;
}
.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  transform: translateY(-3px);
}

footer {
  background: #0c1f2e;
  color: #aaa;
  padding: 60px 0 20px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  /* gap: 30px;
  padding-bottom: 20px;
  margin-bottom: 20px; */
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1rem;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: #fff;
}

.footer-col .app-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 130px;
}
.app-btn {
  background: #1a3347;
  padding: 8px 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.8rem;
  transition: 0.3s;
}
.app-btn:hover {
  background: #2c4a5e;
}

.footer-bottom {
  border-top: 1px solid #1a3347;
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 15px;
}
.footer-socials {
  display: flex;
  gap: 15px;
}
.footer-socials a {
  width: 34px;
  height: 34px;
  /* background: #1a3347; */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  text-decoration: none;
}
.footer-socials a:hover {
  background: #2c4a5e;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }
  header {
    margin: 0 10px 20px 10px;
    border-radius: 30px;
    padding: 12px 20px;
    top: 10px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 15px;
  }
  body {
    /* padding-top: 80px; */
    max-width: 100vw;
    overflow-x: hidden;
  }
  header {
    border-radius: 25px;
    padding: 15px;
    margin: 0 10px 20px 10px;
  }
  .header-content {
    flex-direction: column;
    gap: 12px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
  }
  .header-actions {
    width: 100%;
    justify-content: center;
  }
  .btn {
    padding: 6px 16px;
    font-size: 0.8rem;
  }
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-bottom: 40px;
  }
  .hero-content {
    text-align: center;
    padding-left: 0;
    min-width: 100%;
  }
  .hero p {
    margin: 0 auto 20px auto;
    max-width: 100%;
  }
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-illustration {
    min-width: 100%;
    margin-bottom: 30px;
  }
  .crystal-container {
    padding: 0 12px;
    /* max-width: 220px; */
  }
  /* .stats-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
  } */
  .cta-section {
    flex-direction: column;
    text-align: center;
    padding: 50px 25px;
  }
  .cta-text h2 {
    font-size: 1.7rem;
  }
  .footer-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 12px;
  }
  .features-grid,
  .markets-grid,
  .all-in-one-grid,
  .dash-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .crystal-container {
    padding: 0 12px;
    /* max-width: 220px; */
  }
  .cta-section {
    padding: 40px 20px;
  }
}
/* استایل‌های منوی موبایل (Drawer) */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--dark);
  cursor: pointer;
  padding: 0 10px;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0; /* باز شدن از سمت چپ */
  width: 280px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  transform: translateX(-100%); /* پنهان شدن در حالت عادی */
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 20px;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.close-drawer {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 30px;
}

.mobile-nav-links a {
  font-size: 1.1rem;
  padding: 15px 0;
  border-bottom: 1px solid #f1f1f1;
  width: 100%;
}
.mobile-nav-links a::after {
  display: none; /* حذف انیمیشن زیرخط در منوی موبایل */
}

.mobile-header-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto; /* چسباندن دکمه‌ها به پایین منو */
}
.mobile-header-actions .btn {
  width: 100%;
  padding: 12px 20px;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 34, 56, 0.6);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* مدیا کوئری برای اعمال استایل‌های موبایل */
@media (max-width: 992px) {
  .desktop-nav,
  .desktop-actions {
    display: none; /* پنهان کردن منو و دکمه‌های دسکتاپ در تبلت و موبایل */
  }
  .mobile-menu-toggle {
    display: flex; /* نمایش دکمه همبرگر */
    align-items: center;
  }
  .header-content {
    justify-content: space-between; /* قرارگیری لوگو در راست و دکمه منو در چپ */
  }
  header {
    padding: 12px 20px; /* کاهش پدینگ هدر در موبایل */
  }
}

@media (max-width: 768px) {
  body {
    /* padding-top: 90px;  */
  }
  .header-content {
    flex-direction: row; /* جلوگیری از ستونی شدن هدر */
    gap: 0;
  }
  /* اصلاح ریسپانسیو گریدها در موبایل */
  .features-grid,
  .markets-grid,
  .all-in-one-grid {
    grid-template-columns: 1fr 1fr; /* دو ستونه در موبایل */
  }
  .dash-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid,
  .markets-grid,
  .all-in-one-grid {
    grid-template-columns: 1fr; /* تک ستونه در موبایل‌های کوچک */
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}
