/* About v3 (Suite) */
.about-v3 {
  padding: 64px 0;
}
.about-v3 .about-card {
  background: transparent; /* هماهنگ با سایر سکشن‌ها */
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.about-v3 .about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}
.about-v3 .about-subtitle {
  color: var(--primary-color);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  margin: 0 0 10px 0;
}
.about-v3 .about-title-muted {
  color: #9aa3b2;
  font-weight: 600;
  font-size: 0.9em;
}
.about-v3 .about-desc {
  color: #c4cbda;
  line-height: 1.9;
  margin: 0 0 16px 0;
  max-width: 65ch;
}
.about-v3 .about-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 0 0;
}
.about-v3 .chip {
  background: transparent;
  color: var(--secondary-color);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  border: 1px solid rgba(100, 116, 255, 0.35);
}
.about-v3 .chip:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: #fff;
}
.about-v3 .about-list-title {
  color: #e1e6f3;
  font-weight: 700;
  margin: 4px 0 12px 0;
}
.about-v3 .about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}
.about-v3 .about-list li {
  color: #c0c7d8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
}
.about-v3 .about-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-color);
  flex: 0 0 8px;
  box-shadow: 0 0 0 3px rgba(100, 116, 255, 0.15);
}
.about-v3 .about-actions .btn {
  margin-top: 10px;
}
@media (max-width: 1024px) {
  .about-v3 .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
:root {
  --primary-color: #013366;
  --secondary-color: #28ab88;
}

@import url("/static/cdn_files/Font_Persian_Shabnam_Shabnam.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Vazirmatn", sans-serif;
  color: #222;
  line-height: 1.6;
  direction: rtl;
  scroll-behavior: smooth;
}

.main {
  background-color: #0f0a2e;
  margin: 0;
  border-radius: 0;
  width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
    padding: 0 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
    padding: 0 2.5rem;
  }
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

/* Header */

.header {
  position: relative;
  transition: background-color 0.25s ease, box-shadow 0.25s ease,
    transform 0.25s ease;
  z-index: 5;
  width: 100%;
  margin: 0;
  border-radius: 0;
}

.header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 10, 46, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.header.is-sticky .header-content {
  height: 3.5rem;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  margin-top: 1rem;
  object-fit: cover;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  padding: 0.4rem 0.875rem;
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(40, 171, 136, 0.1), rgba(1, 51, 102, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.5rem;
}

.nav-link:hover {
  color: white;
  transform: translateY(-1px);
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link.active {
  color: white;
  background: linear-gradient(135deg, rgba(40, 171, 136, 0.15), rgba(1, 51, 102, 0.15));
  border: 1px solid rgba(40, 171, 136, 0.3);
}

.nav-link.active::before {
  opacity: 1;
}

/* Underline effect on hover */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0.25rem;
  right: 50%;
  left: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scaleX(0);
}

.nav-link:hover::after,
.nav-link.active::after {
  right: 1rem;
  left: 1rem;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-actions .btn {
  padding: 0.45rem 0.875rem;
  font-size: 0.8125rem;
  white-space: nowrap;
  min-height: 2rem;
  border-radius: 0.5rem;
}

.header-actions .btn-ghost {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.header-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.header-actions #themeToggle {
  min-width: 2rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions #themeToggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.header-actions #themeIcon {
  font-size: 1rem;
  line-height: 1;
}

/* About Section */
.about {
  width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 3rem 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .about {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  .about {
    padding: 5rem 0;
  }
}

.about .container {
  max-width: 100%;
}

.about-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-grid {
    flex-direction: row;
    gap: 4rem;
  }
}

.about-image {
  flex: 1;
  min-width: 0;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

@media (min-width: 768px) {
  .about-image {
    min-width: 300px;
  }
}

.about-image-background {
  width: 80%;
  height: 100%;
  filter: brightness(0.9);
  border-radius: 2rem;
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.about-image-overlay {
  position: absolute;
  top: 45%;
  left: -30px;
  z-index: 1;
}

.about-image-overlay img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  filter: brightness(0.95);
}

.about-content {
  width: 100%;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

@media (min-width: 768px) {
  .about-content {
    width: 50%;
  }
}

/* About Section Animations */
.about.animate .about-image {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.about.animate .about-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.about.animate .about-feature {
  opacity: 1;
  transform: translateY(0);
}

.about-feature:nth-child(1) {
  transition-delay: 0.5s;
}

.about-feature:nth-child(2) {
  transition-delay: 0.7s;
}

.about-feature:nth-child(3) {
  transition-delay: 0.9s;
}

.about-content .section-header {
  text-align: right;
  margin-bottom: 1.5rem;
}

.about-content .section-header .badge {
  margin-bottom: 0.5rem;
  margin-right: 0;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  border: 1px solid rgba(40, 171, 136, 0.15);
  background: rgba(40, 171, 136, 0.08);
  color: var(--secondary-color);
}

.about-content .section-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: right;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.about-content .section-description {
  color: #555;
  font-size: 0.8125rem;
  line-height: 1.6;
  width: 90%;
  text-align: right;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  width: 100%;
  background: #ffffff;
  border-radius: 0.5rem;
  border: 1px solid #e8e8e8;
  transition: all 0.2s ease, opacity 0.9s ease, transform 0.9s ease;
  opacity: 0;
  transform: translateY(40px);
}

@media (min-width: 768px) {
  .about-feature {
    width: 75%;
  }
}

.about-feature:hover {
  background: #fafafa;
  border-color: rgba(40, 171, 136, 0.2);
}

.about-feature-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: white;
  stroke-width: 2.5;
}

.about-feature-content {
  flex: 1;
}

.about-feature-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.375rem;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.about-feature-description {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #666;
}

@media (max-width: 768px) {
  .about-content .section-title {
    font-size: 2rem;
  }
  
  .about-image-background {
    width: 100%;
  }
  
  .about-image-overlay {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .about-image-overlay img {
    width: 100%;
    height: auto;
  }
}

/* Buttons */
.btn {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-family: "Vazirmatn", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.nounderline {
  text-decoration: none;
}

.btn-gradient-red {
  background: linear-gradient(135deg, #ff4b2b, #8b0000);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gradient-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 75, 43, 0.3);
}

.btn-gradient {
  background: linear-gradient(135deg, #28ab88, #013366);
  color: white;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(40, 171, 136, 0.3);
}

.btn-ghost {
  background: transparent;
  color: white;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-menu {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1001;
  transition: all 0.3s ease;
}

.btn-menu:hover {
  opacity: 0.8;
}

.btn-menu .menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  height: 18px;
  position: relative;
}

.btn-menu .menu-line {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.btn-menu.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.btn-menu.active .menu-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.btn-menu.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(135deg, rgba(15, 10, 46, 0.98), rgba(15, 10, 46, 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
}

.mobile-menu.active {
  right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-logo img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

.mobile-menu-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #28ab88, #013366);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mobile-menu-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.mobile-menu-close svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-item {
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-item {
  animation: slideInRight 0.4s ease forwards;
}

.mobile-menu.active .mobile-menu-item:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.active .mobile-menu-item:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.active .mobile-menu-item:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.active .mobile-menu-item:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu.active .mobile-menu-item:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu.active .mobile-menu-item:nth-child(6) { animation-delay: 0.3s; }
.mobile-menu.active .mobile-menu-item:nth-child(7) { animation-delay: 0.35s; }
.mobile-menu.active .mobile-menu-item:nth-child(8) { animation-delay: 0.4s; }
.mobile-menu.active .mobile-menu-item:nth-child(9) { animation-delay: 0.45s; }
.mobile-menu.active .mobile-menu-item:nth-child(10) { animation-delay: 0.5s; }

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: #d1d5db;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  border-right: 3px solid transparent;
}

.mobile-menu-link::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(40, 171, 136, 0.1), rgba(1, 51, 102, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border-right-color: #28ab88;
}

.mobile-menu-link:hover::before,
.mobile-menu-link:active::before {
  opacity: 1;
}

.mobile-menu-link svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: #d1d5db;
  fill: none ;
  stroke-width: 2;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: #d1d5db;
}
 

.mobile-menu-link:hover svg,
.mobile-menu-link:active svg {
  transform: scale(1.1);
  stroke: #28ab88 !important;
  color: #28ab88 !important;
  fill: #28ab88 !important;
}

.mobile-menu-link:hover svg *,
.mobile-menu-link:active svg * {
  stroke: #28ab88;
  fill: none !important;
}

.mobile-menu-link span {
  flex: 1;
}

/* Mobile Menu Actions */
.mobile-menu-actions {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
}

.mobile-menu.active .mobile-menu-actions {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  min-height: auto;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  text-decoration: none !important;
  transform: translateY(-1px);
}

.mobile-menu-btn:active {
  text-decoration: none !important;
  transform: translateY(0);
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

/* Hide mobile menu on desktop */
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* Mobile menu responsive adjustments */
@media (max-width: 480px) {
  .mobile-menu {
    width: 80%;
    max-width: 100%;
  }
  
  .mobile-menu-link {
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
  }
  
  .mobile-menu-link svg {
    width: 1.125rem;
    height: 1.125rem;
  }
  
  .mobile-menu-actions {
    padding: 0.875rem 1.25rem;
    gap: 0.5rem;
  }
  
  .mobile-menu-btn {
    font-size: 0.8125rem;
    padding: 0.5625rem 1.125rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 3rem 0;
  overflow: hidden;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .hero {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 5rem 0;
  }
}

/* Hero 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);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-bg-orb {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.hero-bg-orb-1 {
  top: 0;
  right: 25%;
  background: #013366;
}

.hero-bg-orb-2 {
  bottom: 0;
  left: 25%;
  background: #28ab88;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(40, 171, 136, 0.3);
  background: rgba(40, 171, 136, 0.1);
  color: #7dd3b0;
  font-size: 0.875rem;
  width: fit-content;
  animation: fadeInUp 0.8s ease-out;
}

.badge .icon {
  color: #28ab88;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw + 1rem, 2.75rem);
  font-weight: bold;
  line-height: 1.2;
  color: white;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
  background: linear-gradient(to left, #28ab88, #013366);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #d1d5db;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Hero Stats Inline - Minimal Design */
.hero-stats-inline {
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stats-grid-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.stat-card-inline {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0;
  transition: all 0.3s ease;
}

.stat-card-inline:hover {
  transform: translateX(-4px);
}

.stat-icon-inline {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.stat-icon-inline.stat-icon-green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.stat-icon-inline.stat-icon-blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.stat-icon-inline.stat-icon-purple {
  background: linear-gradient(135deg, #28ab88, #013366);
}

.stat-icon-inline.stat-icon-orange {
  background: linear-gradient(135deg, #f97316, #dc2626);
}

.stat-card-inline:hover .stat-icon-inline {
  transform: scale(1.1);
}

.stat-icon-inline svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
}

.stat-content-inline {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.stat-value-inline {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}

.stat-label-inline {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 400;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .hero-stats-inline {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .stats-grid-inline {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .stat-icon-inline {
    width: 2rem;
    height: 2rem;
  }

  .stat-icon-inline svg {
    width: 1rem;
    height: 1rem;
  }

  .stat-value-inline {
    font-size: 1.25rem;
  }

  .stat-label-inline {
    font-size: 0.6875rem;
  }
}

@media (min-width: 1024px) {
  .stats-grid-inline {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.glow-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  backdrop-filter: blur(10px);
  animation: scaleIn 1s ease-out 0.5s both;
}

.glow-card img {
  width: 100%;
  border-radius: 0.75rem;
  display: block;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.625rem;
  padding: 0.875rem 1rem;
  backdrop-filter: blur(10px);
  animation: float3D 7s ease-in-out infinite;
}

.floating-card-1 {
  top: -1rem;
  right: -1rem;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: -1rem;
  left: -1rem;
  animation-delay: 2.5s;
}

.floating-card-label {
  font-size: 0.75rem;
  color: #d1d5db;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.floating-card-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}

/* انیمیشن جذاب 3D برای کارت‌های شناور */
@keyframes float3D {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  25% {
    transform: translate(4px, -4px) scale(1.02);
  }
  50% {
    transform: translate(-6px, -12px) scale(1.04);
  }
  75% {
    transform: translate(-8px, -8px) scale(1.02);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

/* Hero Stats Section */
.hero-stats {
  margin-top: 8rem;
  padding-top: 0;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 100%;
}

.hero-stats .stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 1rem 0.875rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}

.hero-stats .stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 171, 136, 0.3);
  box-shadow: 0 8px 20px rgba(40, 171, 136, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats .stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.hero-stats .stat-card:hover .stat-icon {
  transform: scale(1.05);
}

.hero-stats .stat-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.hero-stats .stat-value {
  font-size: 1.75rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.hero-stats .stat-label {
  margin-top: 0;
  font-size: 0.8125rem;
  color: #9ca3af;
  font-weight: 400;
}

@media (max-width: 768px) {
  .hero-stats {
    margin-top: 4rem;
  }

  .hero-stats .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .hero-stats .stat-card {
    padding: 0.875rem 0.75rem;
  }

  .hero-stats .stat-icon {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.625rem;
  }

  .hero-stats .stat-icon svg {
    width: 1.125rem;
    height: 1.125rem;
  }

  .hero-stats .stat-value {
    font-size: 1.5rem;
  }

  .hero-stats .stat-label {
    font-size: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-stats .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

/* Stats Section */
.stats {
  padding: 5rem 0;
  color: #444;
  background-color: #0f0a2e;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Enhanced hover effects */
.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.stat-icon-green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.stat-icon-blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.stat-icon-purple {
  background: linear-gradient(135deg, #28ab88, #013366);
}

.stat-icon-orange {
  background: linear-gradient(135deg, #f97316, #dc2626);
}

.stat-value {
  font-size: 2.25rem;
  font-weight: bold;
  color: white;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  .section-header {
    margin-bottom: 2.5rem;
  }
}

.section-header .badge {
  margin: 0 auto 1rem;
}

.section-title {
  font-weight: bold;
  color: white;
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
}

.section-title span {
  display: block;
}

.section-description {
  font-size: 1rem;
  color: #9ca3af;
}

/* Features Section */
.features {
  background: linear-gradient(
      135deg,
      rgba(40, 171, 136, 0.03) 0%,
      transparent 50%
    ),
    linear-gradient(225deg, rgba(1, 51, 102, 0.04) 0%, transparent 50%), #0f0a2e;
  margin: 0 auto;
  border-radius: 0;
  padding: 2rem 0;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .features {
    padding: 2.5rem 0;
  }
}

@media (min-width: 1024px) {
  .features {
    padding: 3rem 0;
  }
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: 
      /* Pattern 1: دایره‌های کوچک با رنگ سبز */ url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='3' fill='%2328ab88' opacity='0.1'/%3E%3Ccircle cx='50' cy='30' r='2' fill='%2328ab88' opacity='0.08'/%3E%3Ccircle cx='80' cy='20' r='3' fill='%2328ab88' opacity='0.12'/%3E%3Ccircle cx='30' cy='60' r='2.5' fill='%2328ab88' opacity='0.09'/%3E%3Ccircle cx='70' cy='70' r='3' fill='%2328ab88' opacity='0.11'/%3E%3C/svg%3E"),
    /* Pattern 2: خطوط مورب با رنگ آبی */
      url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 L120 20 M0 40 L120 40 M0 60 L120 60 M0 80 L120 80' stroke='%23013366' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M20 0 L20 120 M40 0 L40 120 M60 0 L60 120 M80 0 L80 120' stroke='%23013366' stroke-width='1' opacity='0.06'/%3E%3C/svg%3E"),
    /* Pattern 3: ستاره‌های کوچک */
      url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 5 L42 15 L52 15 L44 22 L47 32 L40 26 L33 32 L36 22 L28 15 L38 15 Z' fill='%2328ab88' opacity='0.08'/%3E%3Cpath d='M10 40 L12 50 L22 50 L14 57 L17 67 L10 61 L3 67 L6 57 L-2 50 L8 50 Z' fill='%23013366' opacity='0.07'/%3E%3Cpath d='M70 40 L72 50 L82 50 L74 57 L77 67 L70 61 L63 67 L66 57 L58 50 L68 50 Z' fill='%2328ab88' opacity='0.09'/%3E%3C/svg%3E"),
    /* Pattern 4: الماس‌های کوچک */
      url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='30 5, 35 15, 30 25, 25 15' fill='%23013366' opacity='0.08'/%3E%3Cpolygon points='30 35, 35 45, 30 55, 25 45' fill='%2328ab88' opacity='0.07'/%3E%3Cpolygon points='5 30, 15 25, 25 30, 15 35' fill='%23013366' opacity='0.09'/%3E%3Cpolygon points='55 30, 45 25, 35 30, 45 35' fill='%2328ab88' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 100px 100px, 120px 120px, 80px 80px, 60px 60px;
  background-position: 0 0, 20px 20px, 40px 40px, 60px 60px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.features::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(40, 171, 136, 0.12) 0%,
    rgba(1, 51, 102, 0.08) 40%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: float 25s ease-in-out infinite;
}

.features .container {
  position: relative;
  z-index: 1;
}

.features.animate {
  opacity: 1;
  transform: translateY(0);
}

.features.animate .section-header {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.features.animate .features-slider-container {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Features Slider with Swiper */
.features-slider-container {
  position: relative;
  width: 100%;
  padding: 1rem 0;
  z-index: 1;
  overflow: hidden;
}

@media (min-width: 768px) {
  .features-slider-container {
    padding: 1.5rem 0;
  }
}

@media (min-width: 1024px) {
  .features-slider-container {
    padding: 2rem 0;
  }
}

.features-swiper {
  width: 100%;
  padding-bottom: 2rem;
  overflow: hidden;
}

.features-swiper .swiper-wrapper {
  display: flex;
  width: 100%;
  height: auto;
}

@media (min-width: 640px) {
  .features-swiper .swiper-wrapper {
    width: auto;
  }
}

.feature-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  width: 100%;
  height: 280px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(40, 171, 136, 0.1),
    rgba(1, 51, 102, 0.1)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(40, 171, 136, 0.3);
}

.feature-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.feature-icon {
  position: relative;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 3;
  margin-bottom: 1rem;
  margin-left: 4rem;
  flex-shrink: 0;
  align-self: flex-start;
}

.feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.feature-icon-blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.feature-icon-purple {
  background: linear-gradient(135deg, #28ab88, #013366);
}

.feature-icon-pink {
  background: linear-gradient(135deg, #28ab88, #1a8570);
}

.feature-icon-green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.feature-icon-orange {
  background: linear-gradient(135deg, #f97316, #f59e0b);
}

.feature-icon-indigo {
  background: linear-gradient(135deg, #013366, #28ab88);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.feature-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #d1d5db;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

/* Features Slider Navigation Container */
.features-slider-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
}

/* Swiper Navigation Buttons */
.features-slider-navigation .swiper-button-prev,
.features-slider-navigation .swiper-button-next,
.features-swiper .swiper-button-prev,
.features-swiper .swiper-button-next {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  margin: 0;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
}

.features-slider-navigation .swiper-button-prev:hover,
.features-slider-navigation .swiper-button-next:hover,
.features-swiper .swiper-button-prev:hover,
.features-swiper .swiper-button-next:hover {
  background: rgba(40, 171, 136, 0.2);
  border-color: rgba(40, 171, 136, 0.4);
  transform: scale(1.1);
}

.features-slider-navigation .swiper-button-prev::after,
.features-slider-navigation .swiper-button-next::after,
.features-swiper .swiper-button-prev::after,
.features-swiper .swiper-button-next::after {
  font-size: 1.25rem;
  color: white;
  font-weight: 700;
}

/* Swiper Pagination */
.features-slider-navigation .swiper-pagination,
.features-swiper .swiper-pagination {
  position: relative;
  bottom: auto;
  margin-top: 0;
  width: auto;
}

.features-slider-navigation .swiper-pagination-bullet,
.features-swiper .swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
}

.features-slider-navigation .swiper-pagination-bullet-active,
.features-swiper .swiper-pagination-bullet-active {
  background-color: var(--secondary-color);
  width: 1.5rem;
  border-radius: 0.25rem;
}

@media (max-width: 1200px) {
  .features-swiper .swiper-slide {
    width: 280px;
  }

  .feature-card {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .features-slider-container {
    padding: 1rem 0;
  }

  .features-swiper .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0;
  }

  .feature-card {
    height: auto;
    min-height: 240px;
    padding: 1.25rem;
  }

  .feature-number {
    font-size: 2rem;
    top: 0.75rem;
    left: 1rem;
  }

  .feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.75rem;
    margin-top: 0.25rem;
    margin-left: 3.5rem;
  }

  .feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .feature-title {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
  }

  .feature-description {
    font-size: 0.8125rem;
    line-height: 1.6;
  }

  .features-slider-navigation {
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .features-slider-navigation .swiper-button-prev,
  .features-slider-navigation .swiper-button-next,
  .features-swiper .swiper-button-prev,
  .features-swiper .swiper-button-next {
    width: 2.25rem;
    height: 2.25rem;
  }
  
  .features-slider-navigation .swiper-button-prev::after,
  .features-slider-navigation .swiper-button-next::after,
  .features-swiper .swiper-button-prev::after,
  .features-swiper .swiper-button-next::after {
    font-size: 1rem;
  }
}

/* Showcase Section */
.showcase {
  padding: 5rem 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 1.5rem;
}

.showcase-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.showcase-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  padding: 1.5rem 1.5rem 1rem;
}

.showcase-image {
  padding: 0 1.5rem 1.5rem;
  overflow: hidden;
  border-radius: 0.75rem;
}

.showcase-image img {
  width: 100%;
  border-radius: 0.75rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-card:hover .showcase-image img {
  transform: scale(1.08);
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(
      135deg,
      rgba(40, 171, 136, 0.03) 0%,
      transparent 50%
    ),
    linear-gradient(225deg, rgba(1, 51, 102, 0.04) 0%, transparent 50%), #0f0a2e;
  margin: 0 auto;
  border-radius: 0;
  padding: 3rem 0;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .testimonials {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  .testimonials {
    padding: 5rem 0;
  }
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: 
      /* Pattern 1: دایره‌های کوچک با رنگ سبز */ url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='3' fill='%2328ab88' opacity='0.1'/%3E%3Ccircle cx='50' cy='30' r='2' fill='%2328ab88' opacity='0.08'/%3E%3Ccircle cx='80' cy='20' r='3' fill='%2328ab88' opacity='0.12'/%3E%3Ccircle cx='30' cy='60' r='2.5' fill='%2328ab88' opacity='0.09'/%3E%3Ccircle cx='70' cy='70' r='3' fill='%2328ab88' opacity='0.11'/%3E%3C/svg%3E"),
    /* Pattern 2: خطوط مورب با رنگ آبی */
      url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 L120 20 M0 40 L120 40 M0 60 L120 60 M0 80 L120 80' stroke='%23013366' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M20 0 L20 120 M40 0 L40 120 M60 0 L60 120 M80 0 L80 120' stroke='%23013366' stroke-width='1' opacity='0.06'/%3E%3C/svg%3E"),
    /* Pattern 3: ستاره‌های کوچک */
      url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 5 L42 15 L52 15 L44 22 L47 32 L40 26 L33 32 L36 22 L28 15 L38 15 Z' fill='%2328ab88' opacity='0.08'/%3E%3Cpath d='M10 40 L12 50 L22 50 L14 57 L17 67 L10 61 L3 67 L6 57 L-2 50 L8 50 Z' fill='%23013366' opacity='0.07'/%3E%3Cpath d='M70 40 L72 50 L82 50 L74 57 L77 67 L70 61 L63 67 L66 57 L58 50 L68 50 Z' fill='%2328ab88' opacity='0.09'/%3E%3C/svg%3E"),
    /* Pattern 4: الماس‌های کوچک */
      url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='30 5, 35 15, 30 25, 25 15' fill='%23013366' opacity='0.08'/%3E%3Cpolygon points='30 35, 35 45, 30 55, 25 45' fill='%2328ab88' opacity='0.07'/%3E%3Cpolygon points='5 30, 15 25, 25 30, 15 35' fill='%23013366' opacity='0.09'/%3E%3Cpolygon points='55 30, 45 25, 35 30, 45 35' fill='%2328ab88' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 100px 100px, 120px 120px, 80px 80px, 60px 60px;
  background-position: 0 0, 20px 20px, 40px 40px, 60px 60px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.testimonials::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(40, 171, 136, 0.12) 0%,
    rgba(1, 51, 102, 0.08) 40%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: float 25s ease-in-out infinite;
}

.testimonials .container {
  position: relative;
  z-index: 1;
  margin-left: 1rem;
  margin-right: 1rem;
}

@media (min-width: 768px) {
  .testimonials .container {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .testimonials .container {
    margin-left: auto;
    margin-right: auto;
  }
}

.testimonials-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  position: relative;
  min-height: auto;
}

@media (min-width: 1024px) {
  .testimonials-layout {
    flex-direction: row;
    gap: 3rem;
    min-height: 700px;
  }
}

.testimonials-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
  margin-top: 0;
}

@media (min-width: 1024px) {
  .testimonials-info {
    width: 67%;
    margin-top: -20px;
  }
}

.cta {
  background: linear-gradient(
      135deg,
      rgba(40, 171, 136, 0.03) 0%,
      transparent 50%
    ),
    linear-gradient(225deg, rgba(1, 51, 102, 0.04) 0%, transparent 50%), #0f0a2e;
  margin: 0 auto;
  border-radius: 0;
  padding: 2rem 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .cta {
    padding: 2.5rem 0;
  }
}

@media (min-width: 1024px) {
  .cta {
    padding: 3rem 0;
  }
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: /* Pattern 1: دایره‌های کوچک با رنگ سبز */ url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='3' fill='%2328ab88' opacity='0.1'/%3E%3Ccircle cx='50' cy='30' r='2' fill='%2328ab88' opacity='0.08'/%3E%3Ccircle cx='80' cy='20' r='3' fill='%2328ab88' opacity='0.12'/%3E%3Ccircle cx='30' cy='60' r='2.5' fill='%2328ab88' opacity='0.09'/%3E%3Ccircle cx='70' cy='70' r='3' fill='%2328ab88' opacity='0.11'/%3E%3C/svg%3E"),
    /* Pattern 2: خطوط مورب با رنگ آبی */
      url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 L120 20 M0 40 L120 40 M0 60 L120 60 M0 80 L120 80' stroke='%23013366' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M20 0 L20 120 M40 0 L40 120 M60 0 L60 120 M80 0 L80 120' stroke='%23013366' stroke-width='1' opacity='0.06'/%3E%3C/svg%3E"),
    /* Pattern 3: ستاره‌های کوچک */
      url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 5 L42 15 L52 15 L44 22 L47 32 L40 26 L33 32 L36 22 L28 15 L38 15 Z' fill='%2328ab88' opacity='0.08'/%3E%3Cpath d='M10 40 L12 50 L22 50 L14 57 L17 67 L10 61 L3 67 L6 57 L-2 50 L8 50 Z' fill='%23013366' opacity='0.07'/%3E%3Cpath d='M70 40 L72 50 L82 50 L74 57 L77 67 L70 61 L63 67 L66 57 L58 50 L68 50 Z' fill='%2328ab88' opacity='0.09'/%3E%3C/svg%3E"),
    /* Pattern 4: الماس‌های کوچک */
      url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='30 5, 35 15, 30 25, 25 15' fill='%23013366' opacity='0.08'/%3E%3Cpolygon points='30 35, 35 45, 30 55, 25 45' fill='%2328ab88' opacity='0.07'/%3E%3Cpolygon points='5 30, 15 25, 25 30, 15 35' fill='%23013366' opacity='0.09'/%3E%3Cpolygon points='55 30, 45 25, 35 30, 45 35' fill='%2328ab88' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 100px 100px, 120px 120px, 80px 80px, 60px 60px;
  background-position: 0 0, 20px 20px, 40px 40px, 60px 60px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.testimonials-title span {
  display: block;
  line-height: normal;
  letter-spacing: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  font-family: vazirmatn;
}

@media (min-width: 768px) {
  .testimonials-title span {
    letter-spacing: 10px;
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .testimonials-title span {
    letter-spacing: 20px;
    font-size: 3rem;
  }
}

.testimonials-coments {
  display: flex;
  width: 100%;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.testimonials-badge {
  display: inline-block;
  width: auto;
  min-width: 100px;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(40, 171, 136, 0.12);
  color: #7dd3b0;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .testimonials-badge {
    width: 130px;
    font-size: 0.8125rem;
  }
}

.testimonials-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .testimonials-title {
    font-size: 2.5rem;
  }
}

.testimonials-subtitle {
  color: #c7d2fe;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.testimonials-slider {
  position: absolute;
  right: -8rem;
  bottom: 2rem;
  width: 80%;
  z-index: 2;
}

.testimonials.animate {
  opacity: 1;
  transform: translateY(0);
}

.testimonials.animate .testimonials-info {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.testimonials.animate .testimonials-media {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.testimonials-swiper {
  width: 100%;
  padding-bottom: 2rem;
  overflow: hidden;
  transform: translateX(0);
  margin-top: 20px;
  position: relative; /* needed for overlay positioning */
}

@media (min-width: 1024px) {
  .testimonials-swiper {
    transform: translateX(18px);
  }
}

/* Edge fade overlays for nicer peek of next/prev slides */
.testimonials-swiper::before,
.testimonials-swiper::after {
  display: none;
}

.testimonials-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.testimonials-swiper .swiper-slide {
  height: auto;
  display: flex;
  width: auto !important; /* let content (card) define width */
}

/* Desktop/tablet behavior: right card clear, center+left blurred */
@media (min-width: 768px) {
  .testimonials-swiper .swiper-slide .testimonial-card {
    filter: blur(4px);
    opacity: 0.55;
    transform: scale(0.94);
    transition: filter 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
  }

  .testimonials-swiper .swiper-slide.swiper-slide-active .testimonial-card,
  .testimonials-swiper
    .swiper-slide.swiper-slide-duplicate-active
    .testimonial-card {
    filter: none;
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .testimonials-swiper .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0;
  }

  .testimonials-swiper .swiper-slide .testimonial-card {
    filter: none;
    opacity: 1;
    transform: scale(1);
  }
}

/* Enhanced testimonial card animations */
.testimonial-card {
  width: 100%;
  max-width: 470px;
  min-height: 270px;
  /* background: rgba(255, 255, 255, 0.03); */
  background-color: #fff;
  flex-wrap: wrap;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.875rem;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 640px) {
  .testimonial-card {
    width: 470px;
    padding: 2rem;
  }
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(40, 171, 136, 0.1),
    rgba(1, 51, 102, 0.1)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-quote {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  opacity: 0.4;
  color: rgba(40, 171, 136, 0.8);
}

@media (min-width: 640px) {
  .testimonial-quote {
    top: 1.5rem;
    left: 1.5rem;
    width: 3rem;
    height: 3rem;
  }
}

.testimonial-quote svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  margin-top: 0.25rem;
  color: #fbbf24;
  font-size: 1.2rem;
}

.testimonial-text {
  line-height: 1.7;
  color: #333;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  position: relative;
  z-index: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  overflow: hidden;
}

@media (min-width: 640px) {
  .testimonial-text {
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
}

.author-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(40, 171, 136, 0.3);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .author-avatar {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.author-avatar:hover {
  transform: scale(1.1);
  border-color: rgba(40, 171, 136, 0.6);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  color: #0f172a; /* slate-900 */
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .author-name {
    font-size: 0.9375rem;
  }
}

.author-role {
  font-size: 0.8125rem;
  color: #6b7280; /* slate-500 for contrast on white */
}

@media (min-width: 640px) {
  .author-role {
    font-size: 0.875rem;
  }
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-top: 0.5rem;
  z-index: 2;
}

.swiper-button-prev.testimonials-nav,
.swiper-button-next.testimonials-nav {
  position: static;
  margin: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  transition: all 0.3s ease;
}

.swiper-button-prev.testimonials-nav::after,
.swiper-button-next.testimonials-nav::after {
  font-size: 1.1rem;
  font-weight: 700;
}

.swiper-button-prev.testimonials-nav:hover,
.swiper-button-next.testimonials-nav:hover {
  background: rgba(40, 171, 136, 0.25);
  border-color: rgba(40, 171, 136, 0.4);
  transform: translateY(-2px);
}

.testimonials-pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: auto !important;
}

.testimonials-pagination .swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
}

.testimonials-pagination .swiper-pagination-bullet-active {
  background: var(--secondary-color);
  width: 1.5rem;
  border-radius: 999px;
}

.testimonials-media {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .testimonials-media {
    width: 30%;
  }
}

.testimonials-image {
  position: relative;
  border-radius: 24px;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 10, 46, 0.45);
}

.testimonials-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 10, 46, 0) 20%,
    rgba(15, 10, 46, 0.65) 100%
  );
  pointer-events: none;
}

.testimonials-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-media-overlay {
  position: absolute;
  inset: auto auto 1rem 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #e0e7ff;
  box-shadow: 0 20px 40px rgba(15, 10, 46, 0.35);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .testimonials-media-overlay {
    inset: auto auto 2rem 50%;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 1024px) {
  .testimonials-media {
    order: -1;
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .testimonials-image {
    height: 250px;
    width: 100%;
  }
  
  .testimonials-info {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 1rem 0;
  }

  .testimonials-image {
    height: 200px;
    border-radius: 16px;
  }
  
  .testimonials-layout {
    min-height: auto;
    gap: 1rem;
  }

  .testimonials-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.75rem;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
    gap: 1rem;
  }
  
  .testimonials-swiper {
    margin-top: 0.75rem;
    width: 100%;
    padding-bottom: 1.5rem;
  }
  
  
  .testimonial-card {
    min-height: auto;
    margin: 0 auto;
  }
  
  .testimonials-pagination {
    width: auto !important;
    justify-content: center;
  }
}
/* FAQ Section */
.faq {
  width: 100%;
  margin: 0;
  background-color: #ffffff;
  padding: 2rem 0;
  border-radius: 0;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

@media (min-width: 768px) {
  .faq {
    padding: 5rem 0;
    margin-top: 0;
    margin-bottom: 0;
  }
}

.faq.animate {
  opacity: 1;
  transform: translateY(0);
}

.faq .section-header {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.faq.animate .section-header {
  opacity: 1;
  transform: translateY(0);
}

.faq .faq-list {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

.faq.animate .faq-list {
  opacity: 1;
  transform: translateY(0);
}

.faq .faq-item {
  opacity: 1;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.faq.animate .faq-item:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.faq.animate .faq-item:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.faq.animate .faq-item:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

.faq.animate .faq-item:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.1s;
}

.faq .faq-overlay {
  position: absolute;
  top: 50%;
  right: 0;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.8s ease-out 0.6s;
  display: none;
}

.faq .faq-overlay img {
  width: 100%;
  height: auto;
  max-width: 200px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .faq .faq-overlay {
    display: block;
  }
  
  .faq .faq-overlay img {
    max-width: 180px;
  }
}

@media (min-width: 1024px) {
  .faq .faq-overlay {
    display: block;
  }
  
  .faq .faq-overlay img {
    max-width: 250px;
  }
}

@media (min-width: 1280px) {
  .faq .faq-overlay img {
    max-width: 300px;
  }
}

@media (min-width: 1500px) {
  .faq .faq-overlay img {
    max-width: auto;
  }
}

.faq.animate .faq-overlay {
  opacity: 1;
}

.faq .container {
  max-width: 100%;
  margin-bottom: 2rem;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .faq .container {
    max-width: 90%;
  }
}

@media (min-width: 1024px) {
  .faq .container {
    max-width: 50%;
  }
}

.faq .section-header {
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .faq .section-header {
    margin-bottom: 3rem;
  }
}

.faq .section-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .faq .section-title {
    font-size: 2rem;
  }
}

.faq .section-description {
  color: #666;
  font-size: 1rem;
}

.blog .section-title {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.blog .section-description {
  color: #666;
  font-size: 1rem;
}

/* Blog - Dark grid cards */
.blog {
  background: #0b0a22;
  padding: 3rem 0;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .blog {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  .blog {
    padding: 5rem 0;
  }
}
.blog .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .blog .section-header {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .blog .section-header {
    margin-bottom: 3rem;
  }
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.blog-card {
  background: #151236;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
  color: #e8e8f5;
  box-shadow: 0 10px 30px rgba(5, 3, 30, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 18px 40px rgba(17, 12, 64, 0.45);
}
.blog-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.blog-badge {
  background: linear-gradient(135deg, #22c55e, #10b981);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}
.blog-doc-icon {
  font-size: 16px;
  opacity: 0.7;
}
.blog-card-media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 14px;
  background: #0e0b2a;
}
.blog-card-media img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: saturate(1.1);
}
.blog-card-title {
  font-size: 1rem;
  line-height: 1.8rem;
  font-weight: 700;
  margin: 6px 0 8px 0;
  color: #f3f4ff;
}
.blog-card-excerpt {
  color: #b7b9d6;
  font-size: 0.92rem;
  line-height: 1.7rem;
  margin-bottom: 12px;
}

.blog-actions {
  text-align: center;
  margin-top: 28px;
}
.blog-all-link {
  border-color: rgba(255, 255, 255, 0.18);
  color: #e5e7eb;
}
.blog-all-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}
/* Responsive */
/* Blog Grid responsive already handled above */

/* Blog V2 - Light layout like screenshot */
.blog-v2 {
  background: #ffffff;
}
.blog-v2 .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .blog-v2 .section-header {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .blog-v2 .section-header {
    margin-bottom: 3rem;
  }
}
.blog-v2 .blog-badge-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ef4444;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.blog-v2 .blog-badge-line .dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 999px;
  display: inline-block;
}
.blog-v2 .badge-text {
  color: #ef4444;
}
.blog-v2 .blog-title-large {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.blog-v2 .blog-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: #111827;
}
.blog-v2 .img-aspect {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}
.blog-v2 .img-aspect img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.blog-v2 .blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6b7280;
  margin-top: 14px;
  font-size: 0.9rem;
}
.blog-v2 .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-v2 .meta-item .meta-icon-primary {
  color: var(--primary-color);
}
.blog-v2 .meta-sep {
  color: #cbd5e1;
  margin: 0 4px;
}
.blog-v2 .blog-card-title {
  color: #0b1437;
  font-weight: 800;
  font-size: 1.18rem;
  line-height: 1.9rem;
  margin: 10px 0 4px 0;
}
.blog-v2 .blog-card-title::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  opacity: 0.15; /* لطیف */
}
.blog-v2 .blog-card p {
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.75rem;
  margin: 2px 0 10px 0;
}
.blog-v2 .blog-card-action {
  color: var(--primary-color); /* حالت عادی: primary */
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 0; /* شبیه لینک ساده */
  border-radius: 0;
  border: none;
  outline: none;
  box-shadow: none;
  margin-top: 4px;
  transition: color 0.25s ease;
  position: relative;
}
.blog-v2 .blog-card-action::before {
  content: "";
  position: absolute;
  left: -22px; /* RTL: فلش سمت چپ متن */
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  /* فلش مورب با رنگ currentColor */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 17L7 7M7 7v8M7 7h8'/%3E%3C/svg%3E");
  transition: transform 0.25s ease;
}
.blog-v2 .blog-actions .blog-all-link {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 12px 20px;
  font-size: 0.9rem;
  border-radius: 10px;
  margin-top: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.blog-v2 .blog-all-link:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.blog-v2 .blog-card-action:hover {
  color: var(--secondary-color); /* هاور: secondary */
}
.blog-v2 .blog-card-action:hover::before {
  color: var(--secondary-color); /* هاور: secondary */
  transform: translateY(-50%) rotate(-45deg); /* هاور: از شمال‌غرب به غرب کامل */
}
.blog-v2 .blog-card-action:active {
  transform: none;
}
@media (max-width: 1024px) {
  .blog-v2 .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-v2 .img-aspect img {
    height: 220px;
  }
}
@media (max-width: 640px) {
  .blog-v2 .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-v2 .img-aspect img {
    height: 200px;
  }
}

.faq-list {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

@media (min-width: 768px) {
  .faq-item {
    padding: 1.5rem;
  }
}

.faq-item:hover {
  border-color: rgba(40, 171, 136, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
  border-color: var(--secondary-color);
  background: #fafafa;
  box-shadow: 0 4px 12px rgba(40, 171, 136, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  flex: 1;
  text-align: right;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .faq-question h3 {
    font-size: 1.125rem;
  }
}

.faq-icon {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(40, 171, 136, 0.1);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .faq-icon {
    font-size: 1.75rem;
    width: 2rem;
    height: 2rem;
  }
}

.faq-item.active .faq-icon {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  color: white;
  transform: rotate(0deg);
}

.faq-answer {
  color: #666;
  line-height: 1.7;
  font-size: 0.875rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f0f0;
  display: none;
}

@media (min-width: 768px) {
  .faq-answer {
    line-height: 1.8;
    font-size: 0.9375rem;
    margin-top: 1rem;
    padding-top: 1rem;
  }
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeInUp 0.3s ease-out;
}
/* CTA Section - Card Styles */
.cta-card {
  position: relative;
  padding: 1.5rem 1rem;
  text-align: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-card {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .cta-card {
    padding: 2.5rem 2rem;
  }
}

.cta-bg-orb {
  display: none;
}

.cta-bg-orb-1 {
  top: 0;
  right: 0;
  background: #013366;
}

.cta-bg-orb-2 {
  bottom: 0;
  left: 0;
  background: #28ab88;
}

.cta-content {
  position: relative;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
}

.cta-description {
  font-size: 1.125rem;
  color: #d1d5db;
  max-width: 42rem;
  margin: 0 auto 0.75rem;
  line-height: 1.6;
}

.cta-description + .cta-description {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0 0.75rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-features {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .cta-features {
    flex-direction: row;
  }
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-feature .icon {
  color: #10b981;
}

/* CTA Enhancements */
.cta-badges {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 0.5rem;
}

@media (min-width: 640px) {
  .cta-badges {
    flex-direction: row;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: saturate(120%) blur(6px);
}
.badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}
.badge .icon {
  width: 18px;
  height: 18px;
  color: #10b981;
}
.badge-primary {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.18),
    rgba(59, 130, 246, 0.18)
  );
  border-color: rgba(16, 185, 129, 0.28);
}

.cta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  justify-content: center;
  align-items: center;
}
.cta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 10px 22px rgba(2, 6, 23, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease,
    box-shadow 0.2s ease;
  flex: 0 1 auto;
}
.cta-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 14px 30px rgba(2, 6, 23, 0.4);
}
.cta-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    120% 120% at 30% 20%,
    rgba(16, 185, 129, 0.35),
    rgba(59, 130, 246, 0.15) 60%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 24px rgba(16, 185, 129, 0.22),
    0 8px 20px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.cta-icon svg {
  width: 16px;
  height: 16px;
  color: #a7f3d0;
}
.cta-item-text {
  color: #e5e7eb;
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: nowrap;
}

/* Button upgrades */
.btn.btn-gradient.btn-lg {
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.25),
    0 2px 0 rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn.btn-gradient.btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.35),
    0 2px 0 rgba(255, 255, 255, 0.14) inset;
}
.btn.btn-outline.btn-lg {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.35);
}
.btn.btn-outline.btn-lg:hover {
  transform: translateY(-2px);
  border-color: #34d399;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.45);
}

/* Responsive tuning for CTA */
/* CTA Grid responsive already handled above */

/* Footer */
.footer {
  position: relative;
  margin-top: 3rem;
  padding-top: 0;
  background: linear-gradient(135deg, rgba(40, 171, 136, 0.03) 0%, transparent 50%), linear-gradient(225deg, rgba(1, 51, 102, 0.04) 0%, transparent 50%), #0f0a2e;
  border-top: 1px solid rgba(41, 18, 81, 0.08);
  overflow: hidden;
  color: #fdfdff;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: /* Pattern 1: Ø¯Ø§ÛŒØ±Ù‡â€ŒÙ‡Ø§ÛŒ Ú©ÙˆÚ†Ú© Ø¨Ø§ Ø±Ù†Ú¯ Ø³Ø¨Ø² */ url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='3' fill='%2328ab88' opacity='0.1'/%3E%3Ccircle cx='50' cy='30' r='2' fill='%2328ab88' opacity='0.08'/%3E%3Ccircle cx='80' cy='20' r='3' fill='%2328ab88' opacity='0.12'/%3E%3Ccircle cx='30' cy='60' r='2.5' fill='%2328ab88' opacity='0.09'/%3E%3Ccircle cx='70' cy='70' r='3' fill='%2328ab88' opacity='0.11'/%3E%3C/svg%3E), /* Pattern 2: Ø®Ø·ÙˆØ· Ù…ÙˆØ±Ø¨ Ø¨Ø§ Ø±Ù†Ú¯ Ø¢Ø¨ÛŒ */ url(data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 L120 20 M0 40 L120 40 M0 60 L120 60 M0 80 L120 80' stroke='%23013366' stroke-width='1' opacity='0.06'/%3E%3Cpath d='M20 0 L20 120 M40 0 L40 120 M60 0 L60 120 M80 0 L80 120' stroke='%23013366' stroke-width='1' opacity='0.06'/%3E%3C/svg%3E), /* Pattern 3: Ø³ØªØ§Ø±Ù‡â€ŒÙ‡Ø§ÛŒ Ú©ÙˆÚ†Ú© */ url(data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 5 L42 15 L52 15 L44 22 L47 32 L40 26 L33 32 L36 22 L28 15 L38 15 Z' fill='%2328ab88' opacity='0.08'/%3E%3Cpath d='M10 40 L12 50 L22 50 L14 57 L17 67 L10 61 L3 67 L6 57 L-2 50 L8 50 Z' fill='%23013366' opacity='0.07'/%3E%3Cpath d='M70 40 L72 50 L82 50 L74 57 L77 67 L70 61 L63 67 L66 57 L58 50 L68 50 Z' fill='%2328ab88' opacity='0.09'/%3E%3C/svg%3E), /* Pattern 4: Ø§Ù„Ù…Ø§Ø³â€ŒÙ‡Ø§ÛŒ Ú©ÙˆÚ†Ú© */ url(data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='30 5, 35 15, 30 25, 25 15' fill='%23013366' opacity='0.08'/%3E%3Cpolygon points='30 35, 35 45, 30 55, 25 45' fill='%2328ab88' opacity='0.07'/%3E%3Cpolygon points='5 30, 15 25, 25 30, 15 35' fill='%23013366' opacity='0.09'/%3E%3Cpolygon points='55 30, 45 25, 35 30, 45 35' fill='%2328ab88' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 100px 100px, 120px 120px, 80px 80px, 60px 60px;
  background-position: 0 0, 20px 20px, 40px 40px, 60px 60px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.footer-ribbon {
  position: relative;
  width: 72%;
  margin: 30px auto 2rem;
  z-index: 1;
}

.footer-ribbon-shape {
  width: 100%;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(41, 18, 81, 0.12));
}

.footer-ribbon-logo {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.footer-ribbon-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(420px, 1.2fr) minmax(320px, 1fr);
  gap: 2.5rem;
  padding: 0 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.footer-links-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, #d1d5f8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 35px;
  height: 2.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  opacity: 0.85;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #d1d5e8;
}

.footer-links-list li {
  position: relative;
  padding-right: 0;
  line-height: 1.9;
  font-weight: 400;
  opacity: 0.9;
}

.footer-links-list li::before {
  content: none;
}

.footer-links-list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: #059669;
  transform: translateX(-2px);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.footer-social a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.footer-social a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(5, 150, 105, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 24px rgba(5, 150, 105, 0.25);
}

.footer-social a:hover::before {
  opacity: 1;
}

.footer-social a:hover::after {
  opacity: 1;
}

.footer-social a:hover svg {
  stroke-width: 2;
  transform: scale(1.05);
}

.footer-certificates {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  margin-top: 0.25rem;
}

 

.certificate-label {
  display: block;
  font-weight: 600;
  color: #e5e7eb;
}

.certificate-desc {
  font-size: 0.78rem;
  color: #9ca3af;
}

.certificate-card img {
  height: 100px;
  width: auto;
  display: block;
}

.footer-about {
  text-align: right;
}

.footer-about h3 {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.9rem;
  letter-spacing: -0.3px;
  position: relative;
}

.footer-about h3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  width: 50px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  opacity: 0.9;
}

.footer-about p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: #ededff;
  margin-bottom: 1rem;
}

.footer-contact-block {
  margin-bottom: 1rem;
}

.footer-contact-block p {
  margin: 0;
  color: #f1f2ff;
}

.footer-contact-block h4 {
  font-size: 1.05rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.2px;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-contact-block h4::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 2.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  opacity: 0.85;
}

.footer-contact-block a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.footer-contact-block a:hover {
  color: #059669;
}

.footer-note {
  font-size: 0.85rem;
  color: #f0efff;
}

.footer-bottom {
  padding: 1rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #f5f5ff;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.footer-backtotop {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1a8570, #059669);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-backtotop:hover {
  transform: translateY(-3px);
}

.footer-backtotop svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

/* Back to Top Button - Fixed Position */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a8570, #059669);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(26, 133, 112, 0.4);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
  }
  
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-list {
    gap: 0.25rem;
  }
  
  .nav-link {
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .footer-about {
    order: 2;
  }

  .footer-links-area {
    order: 1;
    display: flex;
    flex-direction: column;
  }

  .footer-columns {
    order: 1;
  }

  .footer-meta {
    order: 2;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 2rem;
  }

  .nav {
    display: none;
  }

  .header-actions #askMeBtn {
    display: none !important;
  }

  .header-actions #themeToggle {
    display: none !important;
  }

  .header-actions .btn-ghost:not(.btn-menu),
  .header-actions .btn-gradient:not(.btn-menu),
  .header-actions .btn-gradient-red:not(.btn-menu) {
    display: none;
  }

  .btn-menu {
    display: block;
    font-size: 1.25rem;
    padding: 0.375rem 0.625rem;
  }

  body.menu-open .header-actions .btn:not(.btn-menu) {
    opacity: 0;
    pointer-events: none;
  }

}

@media (max-width: 768px) {
  .header-content {
    height: 3.5rem;
    padding: 0.375rem 0;
  }

  .header.is-sticky .header-content {
    height: 3.25rem;
  }

  .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .nav {
    display: none;
  }

  .header-actions #askMeBtn {
    display: none !important;
  }

  .header-actions #themeToggle {
    display: none !important;
  }

  .header-actions .btn-ghost:not(.btn-menu),
  .header-actions .btn-gradient:not(.btn-menu),
  .header-actions .btn-gradient-red:not(.btn-menu) {
    display: none;
  }

  .btn-menu {
    display: block;
    font-size: 1.25rem;
    padding: 0.375rem 0.625rem;
  }
  
  /* Hide header buttons when mobile menu is open */
  body.menu-open .header-actions .btn:not(.btn-menu) {
    opacity: 0;
    pointer-events: none;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-actions .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    min-height: 1.875rem;
  }


  .section-title {
    font-size: 1.5rem;
  }

  .section-description {
    font-size: 0.875rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  /* جلوگیری از اسکرول افقی */
  section {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .header-content {
    height: 3.75rem;
    padding: 0.375rem 0;
  }

  .header.is-sticky .header-content {
    height: 3.5rem;
  }

  .mobile-menu {
    width: min(72vw, 420px);
    max-width: 420px;
  }

  .mobile-menu-link {
    font-size: 0.95rem;
    padding: 0.95rem 1.35rem;
  }

  .mobile-menu-btn {
    font-size: 0.9rem;
    padding: 0.65rem 1.2rem;
  }
}

@media (max-width: 576px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-meta {
    align-items: center;
  }

  .footer-bottom {
    align-items: center;
    text-align: center;
    gap: 0.6rem;
  }

  .footer-backtotop {
    order: -1;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }


  .section-title {
    font-size: 3rem;
  }

  .cta-title {
    font-size: 3rem;
  }
}

/* Adding scroll animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.animate-fade-in.animated {
  opacity: 1;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-scale.animated {
  opacity: 1;
  transform: scale(1);
}

.animate-delay-1 {
  transition-delay: 0.1s;
}

.animate-delay-2 {
  transition-delay: 0.2s;
}

.animate-delay-3 {
  transition-delay: 0.3s;
}

.animate-delay-4 {
  transition-delay: 0.4s;
}

.animate-delay-5 {
  transition-delay: 0.5s;
}

.animate-delay-6 {
  transition-delay: 0.6s;
}

/* Mobile Optimizations - جلوگیری از اسکرول افقی */
@media (max-width: 767px) {
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero,
  .about,
  .features,
  .testimonials,
  .faq,
  .blog,
  .cta {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  /* تنظیم padding داخلی container در section‌ها */
  .hero .container,
  .about .container,
  .features .container,
  .testimonials .container,
  .faq .container,
  .blog .container,
  .cta .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* AI Assistant Styles */
.ai-assistant-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 8px 30px rgba(1, 51, 102, 0.3);
  cursor: pointer;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.ai-assistant-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2), 0 10px 40px rgba(1, 51, 102, 0.4);
}

.ai-assistant-btn:active {
  transform: scale(0.95);
}

.ai-assistant-btn svg {
  width: 28px;
  height: 28px;
}

/* Modal Overlay - بدون background تیره */
.ai-assistant-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ai-assistant-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Backdrop برای کلیک خارج از مودال - شفاف */
.ai-assistant-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 9999;
  cursor: pointer;
}

/* Modal */
.ai-assistant-modal {
  position: fixed;
  bottom: 100px;
  left: 20px;
  width: 420px;
  max-width: calc(90vw - 40px);
  height: 600px;
  max-height: calc(100vh - 140px);
  background: white;
  border-radius: 16px;
  border: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 8px 40px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 10001;
  pointer-events: auto;
}

.ai-assistant-modal-overlay.active .ai-assistant-modal {
  transform: translateX(0);
}

/* Modal Header */
.ai-assistant-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 16px 16px 0 0;
  flex-shrink: 0;
}

.ai-assistant-modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.ai-assistant-icon-small {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px;
}

.ai-assistant-modal-title h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
}

.ai-assistant-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: -8px;
}

.ai-assistant-clear-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ai-assistant-clear-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.ai-assistant-clear-btn svg {
  width: 18px;
  height: 18px;
}

.ai-assistant-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ai-assistant-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.ai-assistant-modal-close svg {
  width: 18px;
  height: 18px;
}

/* Modal Body */
.ai-assistant-modal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  min-height: 0;
  background: #ffffff;
}

.ai-assistant-chat-container {
  flex: 1;
  overflow: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 0;
}

/* Initial Section (Welcome + Suggestions) */
.ai-assistant-initial-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  justify-content: center;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.ai-assistant-initial-section.hidden {
  display: none;
}

/* Messages Container */
.ai-assistant-messages {
  display: none;
  flex-direction: column;
  gap: 16px;
  min-height: 50px;
  padding-bottom: 8px;
  width: 100%;
}

.ai-assistant-messages.active {
  display: flex;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  scroll-behavior: smooth;
}

/* Custom Scrollbar for Messages */
.ai-assistant-messages.active::-webkit-scrollbar {
  width: 6px;
}

.ai-assistant-messages.active::-webkit-scrollbar-track {
  background: transparent;
}

.ai-assistant-messages.active::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.ai-assistant-messages.active::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Welcome Message */
.ai-assistant-welcome {
  text-align: center;
  padding: 24px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.ai-assistant-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(1, 51, 102, 0.15);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-assistant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-assistant-welcome h3 {
  margin: 0 0 10px 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.ai-assistant-welcome p {
  margin: 0;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 100%;
}

/* Messages - styles moved above */

.ai-assistant-message {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: fadeInMessage 0.3s ease;
  word-wrap: break-word;
}

@keyframes fadeInMessage {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ai-assistant-message.user {
  flex-direction: row-reverse;
}

.ai-assistant-message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ai-assistant-message.user .ai-assistant-message-avatar {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.ai-assistant-message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-assistant-message-bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9375rem;
  line-height: 1.5;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.ai-assistant-message.user .ai-assistant-message-bubble {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(1, 51, 102, 0.2);
}

.ai-assistant-message.ai .ai-assistant-message-bubble {
  background: #f1f5f9;
  color: #1e293b;
  border-bottom-left-radius: 4px;
  border: 1px solid #e2e8f0;
}

/* Suggestions */
.ai-assistant-suggestions {
  padding-top: 0;
  border-top: none;
}

.ai-assistant-suggestion-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 12px;
  text-align: right;
  letter-spacing: 0.01em;
}

.ai-assistant-suggestion-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-align: right;
  font-size: 0.875rem;
  color: #1e293b;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.ai-assistant-suggestion-btn:hover {
  border-color: var(--primary-color);
}

/* Input Container */
.ai-assistant-input-container {
  padding: 20px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
}

.ai-assistant-input-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 10px 14px;
  transition: all 0.2s ease;
}

.ai-assistant-input-wrapper:focus-within {
  border-color: var(--primary-color);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(1, 51, 102, 0.1);
}

.ai-assistant-input {
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #1e293b;
  max-height: 120px;
  overflow-y: auto;
  line-height: 1.5;
  background: transparent;
}

.ai-assistant-input::placeholder {
  color: #94a3b8;
}

.ai-assistant-input::-webkit-scrollbar {
  width: 4px;
}

.ai-assistant-input::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.ai-assistant-send-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(1, 51, 102, 0.2);
}

.ai-assistant-send-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(1, 51, 102, 0.3);
}

.ai-assistant-send-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.ai-assistant-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.ai-assistant-send-btn svg {
  width: 18px;
  height: 18px;
}

/* Loading Indicator */
.ai-assistant-loading {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  align-items: center;
}

.ai-assistant-loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  animation: bounceLoading 1.4s infinite ease-in-out both;
}

.ai-assistant-loading-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.ai-assistant-loading-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounceLoading {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .ai-assistant-btn {
    width: 56px;
    height: 56px;
    bottom: 20px;
    left: 20px;
  }

  .ai-assistant-btn svg {
    width: 24px;
    height: 24px;
  }

  .ai-assistant-modal {
    width: calc(100% - 40px);
    max-width: calc(100% - 40px);
    bottom: 100px;
    left: 20px;
    height: calc(100vh - 140px);
    max-height: calc(100vh - 140px);
  }

  .ai-assistant-modal-header {
    padding: 16px 20px;
  }

  .ai-assistant-modal-title h2 {
    font-size: 1rem;
  }

  .ai-assistant-chat-container {
    padding: 16px;
  }

  .ai-assistant-welcome {
    padding: 20px 16px;
  }

  .ai-assistant-message-bubble {
    max-width: 85%;
    font-size: 0.875rem;
    padding: 10px 14px;
  }

  .ai-assistant-input-container {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .ai-assistant-modal {
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .ai-assistant-modal-header {
    border-radius: 0;
  }
}
