/* ============================================
   FINAIVO - Main Stylesheet (Responsive Fix)
   ============================================ */
:root {
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --secondary: #10b981;
  --accent: #f59e0b;
  --tertiary: #8b5cf6;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f8fafc;
  --gray: #64748b;
  --neural-gradient: linear-gradient(
    135deg,
    #3b82f6 0%,
    #1d4ed8 25%,
    #10b981 50%,
    #f59e0b 75%,
    #8b5cf6 100%
  );
  --quantum-gradient: linear-gradient(
    135deg,
    #020617 0%,
    #0f172a 50%,
    #1e293b 100%
  );
  --holo-glow:
    0 0 20px rgba(59, 130, 246, 0.6), 0 0 40px rgba(16, 185, 129, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
  --shadow-neural:
    0 20px 60px rgba(59, 130, 246, 0.3), 0 0 30px rgba(139, 92, 246, 0.2);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ========== FONTS ========== */

@font-face {
  font-family: "IRANSansX";
  src: url("font/IRANSansX-UltraLight.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("font/IRANSansX-Thin.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("font/IRANSansX-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("font/IRANSansX-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("font/IRANSansX-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("font/IRANSansX-DemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("font/IRANSansX-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("font/IRANSansX-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("font/IRANSansX-Heavy.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("font/IRANSansX-ExtraBlack.otf") format("opentype");
  font-weight: 950;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX";
  src: url("font/IRANSansX-Black.otf") format("opentype");
  font-weight: 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Molgan";
  src: url("font/Molgan.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ========== RESET ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  position: relative;
  cursor: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
*:focus {
  outline: none !important;
}
button:focus,
a:focus,
input:focus,
.platform-dot:focus,
.news-tab-btn:focus,
.news-cta-button:focus {
  outline: none !important;
  box-shadow: none !important;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.3) !important;
  outline-offset: 2px;
}

/* ========== CURSOR ========== */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: var(--neural-gradient);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}
.cursor::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px white;
}
.cursor.hover {
  transform: scale(2);
}

/* ========== HEADER ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow);
  transition: 0.6s ease;
  padding: 12px 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  gap: 12px;
}
.logo {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #00badf, #fc46dd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-family: "Molgan", sans-serif;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
  flex-shrink: 0;
}
.logo-img {
  height: 36px;
  margin-right: 8px;
  flex-shrink: 0;
}
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}
.nav-item {
  margin: 0 8px;
}
.nav-link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: var(--transition);
  padding: 8px 4px;
  display: flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}
.nav-link i {
  font-size: 1.3rem !important;
  margin-right: 8px !important;
  background: linear-gradient(45deg, #00c4ff, #8a2be2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
.nav-link span {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav-item:hover .nav-link span {
  opacity: 1;
  transform: translateX(0);
}
.nav-link:hover {
  color: var(--primary);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--neural-gradient);
  transition: var(--transition);
  border-radius: 3px;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
  background: var(--neural-gradient);
  color: white;
  box-shadow: var(--shadow-neural);
  white-space: nowrap;
  font-size: 0.9rem;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.2),
    var(--holo-glow);
  filter: brightness(1.1);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}
.btn-primary {
  background: var(--neural-gradient);
  color: white;
}
.btn-outline-dark {
  border: 2px solid #1e293b;
  color: #1e293b;
  background: transparent;
  box-shadow: none;
}
.btn-outline-dark:hover {
  background: #1e293b;
  color: #fff;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 1001;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
  color: var(--dark);
  flex-shrink: 0;
}
.mobile-toggle:hover {
  background: rgba(59, 130, 246, 0.08);
}

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  padding: 7px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: "Inter", sans-serif;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.06);
  white-space: nowrap;
  flex-shrink: 0;
}
.lang-switch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 50px;
  z-index: 0;
}
.lang-switch:hover::before {
  opacity: 1;
}
.lang-switch i {
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}
.lang-switch:hover i {
  transform: rotate(360deg) scale(1.15);
  color: #fff;
}
.lang-switch .lang-text {
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
  font-weight: 800;
}
.lang-switch:hover .lang-text {
  color: #fff;
}
.lang-switch .lang-divider {
  width: 1px;
  height: 16px;
  background: rgba(59, 130, 246, 0.2);
  position: relative;
  z-index: 1;
  transition: background 0.35s ease;
}
.lang-switch:hover .lang-divider {
  background: rgba(255, 255, 255, 0.4);
}
.lang-switch::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.35s ease;
  filter: blur(8px);
}
.lang-switch:hover::after {
  opacity: 0.25;
}
.lang-switch:active {
  transform: scale(0.95);
}

/* ========== HERO ========== */
.hero {
  padding: 180px 0 130px;
  background: var(--quantum-gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(59, 130, 246, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(16, 185, 129, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(245, 158, 11, 0.3) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}
.hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
  font-family: "Space Grotesk", sans-serif;
  background: var(--neural-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.8;
  color: #cbd5e1;
}
.hero-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.stat-hero {
  text-align: center;
}
.stat-hero-number {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  background: var(--neural-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
  direction: ltr;
  display: inline-block;
}
.stat-hero-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.hero-image {
  position: absolute;
  right: 5%;
  top: 25%;
  transform: translateY(-50%);
  width: 38%;
  max-width: 480px;
  opacity: 0.8;
  z-index: 1;
}
.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.4) 0%,
    transparent 70%
  );
  box-shadow: var(--holo-glow);
}
.floating-element:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
}
.floating-element:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 70%;
  left: 80%;
}
.floating-element:nth-child(3) {
  width: 60px;
  height: 60px;
  top: 40%;
  left: 85%;
}
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ========== SECTION TITLES ========== */
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
  background: var(--neural-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  text-align: center;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 50px;
}

/* ========== ENHANCE ========== */
.enhance {
  padding: 100px 0;
  background: #fff;
}
.enhance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.enhance-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark);
}
.enhance-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.enhance-image {
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.enhance-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.enhance-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.feature-list {
  list-style-type: disc;
  margin-top: 20px;
  padding-left: 20px;
  color: #0277fd;
  font-weight: bold;
  font-size: 1rem;
}
.feature-list li {
  margin-bottom: 10px;
  transition: transform 0.2s ease;
  cursor: pointer;
}
.feature-list li:hover {
  transform: scale(1.04);
}

/* ========== WHY CHOOSE ========== */
.why-choose {
  padding: 100px 0;
  background: var(--quantum-gradient);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.why-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 35px 28px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.why-icon {
  width: 75px;
  height: 75px;
  background: var(--neural-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: white;
  font-size: 1.8rem;
}
.why-title {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--dark);
  font-weight: 700;
}
.why-description {
  color: var(--gray);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ========== PLATFORM ========== */
.platform {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.platform-header {
  text-align: center;
  margin-bottom: 55px;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.12);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #3b82f6;
  margin-bottom: 18px;
}
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: start;
}
.platform-slider-col {
  position: sticky;
  top: 100px;
}
.platform-slider {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e8ecf1;
  margin-bottom: 18px;
}
.platform-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
}
.platform-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.platform-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.platform-slide img,
.platform-showcase img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.platform-slider-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: #fafbfc;
  border-top: 1px solid #eef1f5;
}
.platform-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.platform-dot.active {
  background: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  transform: scale(1.2);
}
.platform-dot:hover {
  background: #93bbfd;
}
.platform-showcase {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e8ecf1;
  padding: 10px;
}
.platform-showcase img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.platform-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.platform-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 20px 18px;
  border: 1px solid #eef1f5;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.platform-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  border-color: rgba(59, 130, 246, 0.15);
}
.platform-card:hover::before {
  opacity: 1;
}
.platform-card.featured {
  border-color: rgba(139, 92, 246, 0.2);
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.02),
    rgba(59, 130, 246, 0.02)
  );
}
.platform-card.featured::before {
  background: linear-gradient(90deg, #8b5cf6, #f59e0b);
}
.platform-card-header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}
.platform-card-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #ffffff;
  transition: transform 0.3s ease;
}
.platform-card:hover .platform-card-icon {
  transform: scale(1.08);
}
.icon-business {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.icon-finance {
  background: linear-gradient(135deg, #10b981, #059669);
}
.icon-analytics {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.icon-monitoring {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}
.icon-accounting {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}
.icon-ai {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}
.platform-card-header h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.01em;
  margin: 0;
  flex: 1;
}
.platform-ai-badge {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 1px;
}
.platform-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.platform-card-list li {
  font-size: 0.78rem;
  color: #64748b;
  padding: 6px 0;
  padding-left: 17px;
  position: relative;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.platform-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.3s ease;
}
.platform-card:hover .platform-card-list li::before {
  background: #3b82f6;
}
.platform-card.featured:hover .platform-card-list li::before {
  background: #8b5cf6;
}
.platform-card-list li.more-items {
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 2px;
  padding-left: 17px;
}
.platform-card-list li.more-items::before {
  display: none;
}

/* ========== SERVICES ========== */
.services {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.service-card {
  background: #2a2a4e;
  border-radius: 15px;
  padding: 26px 22px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 221, 235, 0.3);
}
.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.service-icon i {
  font-size: 1.8rem;
  color: #00ddeb;
  transition: color 0.3s ease;
}
.service-card:hover .service-icon i {
  color: #ff007a;
}
.service-badge {
  background: #ff007a;
  color: #fff;
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}
.service-badge.Level2 {
  background: #00ddeb;
}
.service-badge.level3 {
  background: #f5a623;
}
.service-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}
.service-description {
  font-size: 0.88rem;
  color: #b0b0b0;
  line-height: 1.6;
}

/* ========== MOBILE APP ========== */
.mobile-app {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.mobile-app::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.mobile-app-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 55px;
  align-items: center;
}
.mobile-app-visual {
  display: flex;
  justify-content: center;
}
.phone-mockup {
  position: relative;
}
.phone-frame {
  width: 250px;
  height: 500px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: 34px;
  padding: 11px;
  box-shadow:
    0 30px 60px rgba(15, 23, 42, 0.25),
    0 0 0 2px #334155;
  position: relative;
  z-index: 2;
}
.phone-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 85px;
  height: 20px;
  background: #0f172a;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone-screen {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 24px;
  height: 100%;
  overflow: hidden;
  padding: 36px 15px 16px;
  display: flex;
  flex-direction: column;
}
.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.screen-time {
  font-size: 0.7rem;
  font-weight: 700;
  color: #1e293b;
}
.screen-icons {
  display: flex;
  gap: 4px;
  font-size: 0.6rem;
  color: #1e293b;
}
.screen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.app-logo-small {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}
.screen-content h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 65px;
  width: 100%;
  padding: 0 3px;
}
.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  border-radius: 3px 3px 0 0;
  min-height: 8px;
}
.mini-stats {
  display: flex;
  gap: 10px;
  width: 100%;
}
.mini-stat {
  flex: 1;
  background: #fff;
  border-radius: 7px;
  padding: 6px 7px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.mini-stat-val {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
}
.mini-stat-lbl {
  display: block;
  font-size: 0.5rem;
  color: #94a3b8;
  text-transform: uppercase;
}
.mini-notification {
  width: 100%;
  background: #fef3c7;
  border-radius: 7px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.5rem;
  color: #92400e;
  font-weight: 500;
}
.mini-notification i {
  color: #f59e0b;
  font-size: 0.6rem;
}
.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 540px;
  background: radial-gradient(
    ellipse,
    rgba(59, 130, 246, 0.12),
    transparent 70%
  );
  border-radius: 50%;
  z-index: 1;
  filter: blur(40px);
}
.mobile-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.12);
  padding: 9px 16px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #3b82f6;
  margin-bottom: 20px;
}
.mobile-app-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
  margin-bottom: 15px;
}
.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mobile-app-description {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 500px;
}
.mobile-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}
.mobile-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.mobile-feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: #f0f7ff;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.mobile-feature:hover .mobile-feature-icon {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
}
.mobile-feature-text h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3px;
}
.mobile-feature-text p {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}
.mobile-modules {
  background: #f8fafc;
  border-radius: 13px;
  padding: 18px;
  margin-bottom: 22px;
  border: 1px solid #e2e8f0;
}
.mobile-modules h4 {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 11px;
}
.modules-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.modules-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  color: #3b82f6;
  background: #fff;
  border: 1px solid #dbeafe;
  padding: 5px 10px;
  border-radius: 7px;
  transition: all 0.3s ease;
}
.modules-tags span:hover {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}
.mobile-app-buttons {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

.phone-screen-slider {
  padding: 4px;
  position: relative;
  overflow: hidden;
  background: #f8fafc;   
}
.phone-slides {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.phone-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.phone-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.phone-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;   
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* ========== WORKFLOW ========== */
.Workflow {
  padding: 60px 0 40px;
  margin-top: 60px;
}
.Workflow-content {
  text-align: center;
}
.process-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  margin-top: 50px;
}
html[lang="fa"] .arrow {
  transform: scaleX(-1);
}
.step {
  position: relative;
  background: #fff;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
  font-weight: 500;
  line-height: 1.4;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.step::before {
  content: "";
  position: absolute;
  top: -7px;
  left: -7px;
  right: -7px;
  bottom: -7px;
  border-radius: 50%;
  z-index: -1;
}
.orange::before {
  background: linear-gradient(135deg, #ff7b00, #ffae42);
}
.blue::before {
  background: linear-gradient(135deg, #007cf0, #00dfd8);
}
.green::before {
  background: linear-gradient(135deg, #28a745, #7ed957);
}
.arrow {
  font-size: 1.6rem;
  color: #888;
}
.side-text {
  font-weight: 600;
  font-size: 0.9rem;
  width: 90px;
  text-align: center;
  color: #333;
}
.button {
  display: inline-block;
  margin: 30px auto 0;
  background: linear-gradient(90deg, #ff7b00, #ffae42);
  color: white;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.button:hover {
  background: linear-gradient(90deg, #ffae42, #ff7b00);
  transform: translateY(-2px);
}

/* ========== IMPACT ========== */
.impact {
  padding: 90px 0;
  background: var(--dark);
  color: white;
}
.impact-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.impact-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 45px;
  flex-wrap: wrap;
  gap: 30px;
}
.impact-stat {
  text-align: center;
}
.impact-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  background: var(--neural-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  direction: ltr;
  display: inline-block;
}
.impact-text {
  font-size: 0.95rem;
  color: #cbd5e1;
}

/* ========== ABOUT US / TEAM ========== */
.about-mission-wrapper {
  margin-top: 0;
  padding: 90px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #ffffff;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
.manifesto-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 48px 55px;
  text-align: center;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.03),
    0 15px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.manifesto-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #10b981, #8b5cf6, #f59e0b);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.manifesto-card:hover::before {
  opacity: 1;
}
.manifesto-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.1);
}
.manifesto-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05),
    rgba(139, 92, 246, 0.05)
  );
  border: 1px solid rgba(59, 130, 246, 0.1);
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #3b82f6;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  flex-shrink: 0;
}
.manifesto-text {
  font-size: 1.05rem;
  line-height: 2;
  color: #475569;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
}
.manifesto-text strong {
  color: #1e293b;
  font-weight: 700;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(59, 130, 246, 0.15) 60%
  );
  padding: 0 4px;
}
.team-showcase-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 50px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.03),
    0 20px 50px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(59, 130, 246, 0.06);
  transition: all 0.4s ease;
}
.team-showcase-card:hover {
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 30px 70px rgba(15, 23, 42, 0.1);
}
.team-header {
  text-align: center;
  margin-bottom: 45px;
}
.team-header h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.team-header p {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.team-members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 45px;
}
.team-member {
  display: flex;
  gap: 22px;
  background: #f8fafc;
  border-radius: 18px;
  padding: 26px;
  border: 1px solid rgba(59, 130, 246, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.team-member::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 0% 0%,
    rgba(59, 130, 246, 0.04),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}
.team-member:hover {
  background: #ffffff;
  border-color: rgba(59, 130, 246, 0.1);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}
.team-member:hover::after {
  opacity: 1;
}
.member-avatar {
  width: 66px;
  height: 66px;
  min-width: 66px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.08);
  transition: all 0.4s ease;
}
.team-member:hover .member-avatar {
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.12);
}
.member-avatar i {
  font-size: 24px;
  color: #3b82f6;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}
.team-member:hover .member-avatar i {
  transform: scale(1.14);
}
.avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  filter: blur(8px);
}
.team-member:hover .avatar-glow {
  opacity: 0.08;
}
.avatar-badge {
  position: absolute;
  bottom: -7px;
  right: -7px;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}
.avatar-badge.ai {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}
.avatar-badge.dev {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.avatar-badge.fin {
  background: linear-gradient(135deg, #10b981, #059669);
}
.avatar-badge.data {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.member-info {
  flex: 1;
  min-width: 0;
}
.member-info h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.member-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.member-bio {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 14px;
}
.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.member-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 4px 9px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.member-tags span:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  background: #f0f7ff;
}
.team-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.03),
    rgba(139, 92, 246, 0.03)
  );
  border-radius: 18px;
  padding: 32px 36px;
  border: 1px solid rgba(59, 130, 246, 0.06);
}
.team-stat {
  flex: 1;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.team-stat-divider {
  width: 1px;
  height: 45px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(59, 130, 246, 0.2),
    transparent
  );
}

/* ========== FAQ ========== */
.faq {
  padding: 100px 0;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}
.faq::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.faq::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.faq-header {
  text-align: center;
  margin-bottom: 60px;
}
.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.14);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #3b82f6;
  margin-bottom: 18px;
}
.faq-badge i {
  font-size: 0.85rem;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.faq-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-group {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.08);
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.3s ease;
}
.faq-group:hover {
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.09);
}
.faq-group-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #94a3b8;
}
.faq-group-icon {
  width: 28px;
  height: 28px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.faq-item {
  border-top: 1px solid #f1f5f9;
}
.faq-item:first-of-type {
  border-top: none;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.5;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}
.faq-question:hover {
  color: #3b82f6;
  background: #f8fafc;
}
.faq-question[aria-expanded="true"] {
  color: #3b82f6;
  background: #f0f7ff;
}
.faq-chevron {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.65rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .faq-chevron {
  background: #3b82f6;
  color: #fff;
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer.open {
  max-height: 300px;
}
.faq-answer p {
  padding: 14px 22px 20px;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.8;
  margin: 0;
  border-top: 1px solid #e2f0ff;
}
.faq-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  padding: 36px 40px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  flex-wrap: wrap;
}
.faq-cta p {
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  margin: 0;
}
html[lang="fa"] .faq-question {
  text-align: right;
}
html[lang="fa"] .faq-group-label {
  flex-direction: row;          
  justify-content: flex-start;
  text-align: right;
  direction: rtl;
}
html[lang="fa"] .faq-group-icon {
  order: 0;
  flex-shrink: 0;
}
html[lang="fa"] .faq-group-label > span:not(.faq-group-icon) {
  order: 1;
}
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .faq {
    padding: 70px 0;
  }
  .faq-header {
    margin-bottom: 40px;
  }
  .faq-question {
    font-size: 0.83rem;
    padding: 15px 16px;
  }
  .faq-answer p {
    padding: 12px 16px 16px;
    font-size: 0.82rem;
  }
  .faq-group-label {
    padding: 13px 16px;
  }
  .faq-cta {
    padding: 26px 20px;
    gap: 14px;
  }
  .faq-cta p {
    text-align: center;
  }
}

/* ========== CTA ========== */
.cta {
  padding: 100px 0;
  background: var(--neural-gradient);
  color: white;
  text-align: center;
}
.cta-content {
  max-width: 800px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 20px;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
}
.cta-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.8;
}
.cta .btn {
  background: white;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
}
.cta .btn:hover {
  transform: scale(1.04);
}
/* ============================================
   ADVISOR CTA SECTION
   این CSS رو به انتهای styles.css اضافه کن
   ============================================ */

.advisor-cta-section {
  padding: 110px 0;
  background: #020617;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* پس‌زمینه انیمیشن */
.advisor-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.advisor-cta-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.advisor-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.advisor-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.5), transparent 70%);
  top: -150px; left: -100px;
  animation: advisor-float 8s ease-in-out infinite;
}
.advisor-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.45), transparent 70%);
  bottom: -100px; right: -80px;
  animation: advisor-float 10s ease-in-out infinite reverse;
}
.advisor-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(16,185,129,0.3), transparent 70%);
  top: 40%; left: 50%;
  transform: translateX(-50%);
  animation: advisor-float 12s ease-in-out infinite 2s;
}

@keyframes advisor-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* محتوا */
.advisor-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* بج */
.advisor-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: 0.5px;
  position: relative;
}

.advisor-badge-pulse {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.advisor-badge-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(59,130,246,0.35);
  animation: advisor-pulse 2s ease-in-out infinite;
}
@keyframes advisor-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0; }
}

/* تیتر */
.advisor-cta-title {
  font-family: 'IRANSansX', 'Space Grotesk', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.4;
  margin: 0;
  max-width: 700px;
}

.advisor-gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: advisor-gradient-shift 4s ease infinite;
}

@keyframes advisor-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* توضیح */
.advisor-cta-desc {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 560px;
  line-height: 1.8;
  margin: 0;
}

/* آمار */
.advisor-cta-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 14px 30px;
  gap: 0;
}

.advisor-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  padding: 0 20px;
}

.advisor-stat-icon {
  width: 28px;
  height: 28px;
  background: rgba(59,130,246,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.advisor-stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.08);
}

/* دکمه اصلی */
.advisor-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6, #6d28d9);
  background-size: 200% 200%;
  animation: advisor-btn-gradient 4s ease infinite;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 60px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 0 0 0 rgba(59,130,246,0.4),
    0 20px 40px rgba(59,130,246,0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: 'IRANSansX', 'Inter', sans-serif;
}

@keyframes advisor-btn-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.advisor-cta-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 0 0 6px rgba(59,130,246,0.15),
    0 30px 60px rgba(59,130,246,0.4);
}

.advisor-cta-btn:active {
  transform: translateY(-1px) scale(0.99);
}

.advisor-btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.advisor-btn-content i {
  font-size: 1.1rem;
}

.advisor-btn-arrow {
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.advisor-cta-btn:hover .advisor-btn-arrow {
  transform: translateX(-5px);
}

/* افکت shine */
.advisor-btn-shine {
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.15) 50%,
    transparent 70%
  );
  transform: skewX(-20deg);
  animation: advisor-shine 3.5s ease-in-out infinite 1s;
}

@keyframes advisor-shine {
  0% { left: -75%; }
  60%, 100% { left: 125%; }
}

/* یادداشت زیر دکمه */
.advisor-cta-note {
  font-size: 0.75rem;
  color: #475569;
  margin: 0;
  letter-spacing: 0.5px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .advisor-cta-section { padding: 80px 0; }

  .advisor-cta-title { font-size: 1.6rem; }

  .advisor-cta-stats {
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
  }

  .advisor-stat-divider {
    width: 80%;
    height: 1px;
  }

  .advisor-stat { padding: 0; }

  .advisor-cta-btn {
    font-size: 0.92rem;
    padding: 14px 28px;
  }
}

@media (max-width: 480px) {
  .advisor-cta-title { font-size: 1.4rem; }
  .advisor-cta-desc { font-size: 0.9rem; }
}

/* ========== FOOTER ========== */
footer {
  background: var(--darker);
  color: white;
  padding: 70px 0 28px;
  margin-top: auto;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 38px;
  margin-bottom: 38px;
}
.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 11px;
  font-weight: 700;
  background: var(--neural-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--neural-gradient);
  border-radius: 2px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a,
.footer-links span {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}
.footer-links a:hover {
  color: white;
}
.footer-links a i,
.footer-links span i {
  margin-right: 8px;
  font-size: 0.78rem;
  width: 15px;
  text-align: center;
  transition: all 0.3s ease;
}
.footer-links a:hover i {
  color: #3b82f6;
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}
.social-link:hover {
  background: var(--neural-gradient);
  transform: translateY(-3px);
}
.newsletter {
  background: rgba(255, 255, 255, 0.04);
  padding: 22px;
  margin-top: -60px;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  max-width: 320px;
  width: 100%;
  align-self: start;
}
.newsletter input {
  width: 100%;
  padding: 10px 11px;
  border: none;
  border-radius: 6px;
  margin-bottom: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-family: inherit;
}
.newsletter input::placeholder {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}
.newsletter input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary);
}
.newsletter button {
  width: 100%;
  padding: 10px;
  background: var(--neural-gradient);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter button:hover {
  filter: brightness(1.2);
}
.newsletter .error {
  color: #ef4444;
  font-size: 0.72rem;
  margin-top: 5px;
  display: none;
}
.copyright {
  text-align: center;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #64748b;
  font-size: 0.85rem;
}

/* Footer service tooltips */
.footer-services .footer-service-item {
  cursor: default;
  padding: 4px 0;
  position: relative;
}
.footer-services .footer-service-item:hover {
  color: #fff;
}
.footer-services .footer-service-item:hover i {
  color: #3b82f6;
}
.footer-services .footer-service-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: #1e293b;
  color: #e2e8f0;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.5;
  width: 190px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.footer-services .footer-service-item::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #1e293b;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}
.footer-services .footer-service-item:hover::after,
.footer-services .footer-service-item:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  background: var(--neural-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-neural);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}
.back-to-top.active {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
}

/* ========== COMING SOON ========== */
.coming-soon-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}
.coming-soon-overlay.active {
  opacity: 1;
  visibility: visible;
}
.coming-soon-dialog {
  background: #fff;
  border-radius: 20px;
  padding: 36px 30px 26px;
  text-align: center;
  max-width: 360px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transform: translateY(15px);
  transition: transform 0.3s ease;
}
.coming-soon-overlay.active .coming-soon-dialog {
  transform: translateY(0);
}
.coming-soon-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
}
.coming-soon-close:hover {
  color: #1e293b;
}
.coming-soon-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coming-soon-icon i {
  font-size: 24px;
  color: #3b82f6;
}
.coming-soon-dialog h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 7px;
}
.coming-soon-dialog p {
  font-size: 0.88rem;
  color: #64748b;
}

/* ========== NEWS PAGE ========== */
.news-body {
  font-family: "Inter", sans-serif;
  background: #050a1e;
  color: #fff;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
}
.news-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(120, 119, 198, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 95, 109, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(72, 219, 251, 0.1) 0%,
      transparent 50%
    );
  z-index: 0;
}
.news-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}
.news-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 110px 24px 70px;
  position: relative;
  z-index: 1;
}
.news-header {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}
.news-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 35px;
  justify-content: center;
  flex-wrap: wrap;
}
.news-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 9px 20px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.news-tab-btn.news-active,
.news-tab-btn:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: transparent;
}
.news-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.news-badge-dot {
  width: 7px;
  height: 7px;
  background: #667eea;
  border-radius: 50%;
  flex-shrink: 0;
}
.news-main-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  margin-bottom: 45px;
}
.news-featured-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 26px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
}
.news-featured-card:hover {
  transform: translateY(-6px);
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 30px 60px rgba(102, 126, 234, 0.2);
}
.news-featured-card .news-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  border-radius: 0 40px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
  transform: rotate(90deg);
}
.news-featured-card .news-ribbon i {
  font-size: 18px;
  color: #000;
  transform: rotate(-90deg);
}
.news-featured-image-wrapper {
  height: 340px;
  position: relative;
  overflow: hidden;
}
.news-featured-content {
  padding: 28px;
}
.news-meta-info {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  font-weight: 500;
}
.news-featured-title {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.news-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.news-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}
.news-arrow {
  font-size: 16px;
  transition: transform 0.3s;
}
.news-cta-button:hover .news-arrow {
  transform: translateX(4px);
}
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.news-sidebar-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 17px;
  display: flex;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}
.news-sidebar-card:hover {
  border-color: rgba(102, 126, 234, 0.2);
  background: rgba(102, 126, 234, 0.04);
  transform: translateX(5px);
}
.news-sidebar-meta {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 7px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.news-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.news-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.news-bottom-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}
.news-bottom-card:hover {
  transform: translateY(-5px);
  border-color: rgba(102, 126, 234, 0.2);
  background: rgba(102, 126, 234, 0.04);
}
.news-bottom-card-meta {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.news-bottom-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.news-news-item[data-category] {
  display: block;
}
.news-news-item.news-hidden {
  display: none;
}

/* Modal */
.news-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}
.news-modal-overlay.news-active {
  opacity: 1;
  visibility: visible;
}
.news-modal {
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 30px;
  overflow-y: auto;
  margin: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  position: relative;
}
.news-modal-overlay.news-active .news-modal {
  transform: scale(1);
}
.news-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.news-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}
.news-modal-body-wrapper {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.news-modal-image {
  width: 200px;
  min-width: 200px;
  height: 135px;
  border-radius: 11px;
  object-fit: cover;
}
.news-modal-content {
  flex: 1;
  min-width: 0;
}
.news-modal-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 9px;
  color: #fff;
}
.news-modal-meta {
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 13px;
  font-size: 11px;
}
.news-modal-body {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

/* ========== GET STARTED DIALOG ========== */
.getstarted-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  padding: 20px;
}
.getstarted-overlay.active {
  opacity: 1;
  visibility: visible;
}
.getstarted-dialog {
  background: #ffffff;
  border-radius: 22px;
  max-width: 820px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  box-shadow: 0 35px 70px rgba(15, 23, 42, 0.25);
  transform: translateY(25px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.getstarted-overlay.active .getstarted-dialog {
  transform: translateY(0);
}
.getstarted-close {
  position: absolute;
  top: 13px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.04);
  color: #64748b;
  font-size: 18px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.getstarted-close:hover {
  background: #ef4444;
  color: #fff;
  transform: rotate(90deg);
}
.getstarted-left {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  padding: 46px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.getstarted-left::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.25),
    transparent 70%
  );
  border-radius: 50%;
}
.getstarted-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
  margin-bottom: 22px;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}
.getstarted-left h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 13px;
  line-height: 1.3;
}
.getstarted-left p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 32px;
}
.getstarted-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gs-benefit {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.83rem;
  color: #cbd5e1;
}
.gs-benefit i {
  color: #10b981;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.getstarted-right {
  padding: 46px 34px;
  background: #fff;
}
.getstarted-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gs-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gs-field label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.gs-field input {
  padding: 11px 13px;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  font-size: 0.88rem;
  font-family: "Inter", sans-serif;
  color: #1e293b;
  background: #f8fafc;
  transition: all 0.3s ease;
  outline: none;
}
.gs-field input:focus {
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}
.gs-field input::placeholder {
  color: #94a3b8;
  font-size: 0.8rem;
}
.gs-submit-btn {
  margin-top: 6px;
  padding: 13px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 11px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}
.gs-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35);
}
.gs-privacy {
  text-align: center;
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 4px;
}
.gs-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: gs-spin 0.7s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes gs-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   WORKFLOW PAGE - OEM SECTION
   ============================================ */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-orange: #f59e0b;
  --accent-green: #10b981;
  --accent-blue: #3b82f6;
  --light-orange: #fef3c7;
  --light-green: #d1fae5;
  --light-blue: #dbeafe;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --radius: 12px;
}
.OEM-section .container {
  max-width: 1400px;
  margin: 0 auto;
  background: #ffffff;
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.OEM-section .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-orange),
    var(--accent-green),
    var(--accent-blue)
  );
}
.OEM-section .header {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
}
.OEM-section h1 {
  color: var(--primary-color);
  margin: 0 0 8px 0;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.OEM-section h1::after {
  content: "";
  display: block;
  width: 55px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-green));
  margin: 11px auto 0;
  border-radius: 2px;
}
.OEM-section .subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 14px;
  font-size: 1.1em;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.OEM-section .description {
  text-align: center;
  margin-bottom: 44px;
  color: var(--text-light);
  font-size: 1em;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.OEM-section .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border-radius: 50%;
  margin: 0 auto 18px;
  font-size: 1.1em;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.OEM-section .footer-note {
  text-align: center;
  margin-top: 36px;
  padding: 18px;
  background: rgba(59, 130, 246, 0.05);
  border-radius: var(--radius);
  border-left: 4px solid var(--secondary-color);
  font-size: 0.92em;
  color: var(--text-light);
  line-height: 1.6;
}
.OEM-section .footer-note i {
  color: var(--secondary-color);
  margin-right: 7px;
}
.OEM-section table.OEM-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.92em;
  background: #ffffff;
  border: none;
}
.OEM-section th,
.OEM-section td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
}
.OEM-section thead th {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  padding: 16px 18px;
  font-size: 0.92em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
}
.OEM-section thead th:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.OEM-section tbody tr {
  transition: background-color 0.2s ease;
}
.OEM-section tbody tr:hover {
  background-color: rgba(59, 130, 246, 0.02);
}
.OEM-section .operational th {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  vertical-align: middle;
  min-width: 75px;
  padding: 28px 9px;
  font-size: 0.88em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: none;
}
.OEM-section .operational td {
  background-color: var(--light-orange);
  vertical-align: middle;
  text-align: center;
  font-weight: 500;
  color: var(--text-dark);
}
.OEM-section .business th {
  background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  vertical-align: middle;
  min-width: 75px;
  padding: 28px 9px;
  font-size: 0.88em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: none;
}
.OEM-section .business td {
  background-color: var(--light-green);
  vertical-align: middle;
  text-align: center;
  font-weight: 500;
  color: var(--text-dark);
}
.OEM-section .strategic th {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  vertical-align: middle;
  min-width: 75px;
  padding: 28px 9px;
  font-size: 0.88em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: none;
}
.OEM-section .strategic td {
  background-color: var(--light-blue);
  vertical-align: middle;
  text-align: center;
  font-weight: 500;
  color: var(--text-dark);
}
.OEM-section .metric {
  font-weight: 600;
  color: var(--text-dark);
}
.kpi-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.kpi-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
  font-size: 0.88em;
}
.kpi-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1e90ff;
  font-weight: bold;
}

/* ============================================
   WORKFLOW PAGE - DIAGRAM SECTION
   ============================================ */
.diagram {
  width: 100%;
  max-width: 1400px;
  margin: 55px auto;
  padding: 0 20px;
}
.diagram__container {
  background: white;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  padding: 45px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}
.diagram__text {
  text-align: left;
}
.diagram__title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: #2d3748;
  margin-bottom: 18px;
  line-height: 1.3;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
}
.diagram__subtitle {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 26px;
  font-weight: 500;
}
.diagram__info-item {
  margin-bottom: 22px;
  padding-left: 18px;
  border-left: 4px solid #667eea;
  transition: all 0.3s ease;
}
.diagram__info-item:hover {
  border-left-color: #ff5e62;
  transform: translateX(5px);
}
.diagram__info-title {
  font-weight: 700;
  font-size: 14px;
  color: #2d3748;
  margin-bottom: 7px;
}
.diagram__info-text {
  font-size: 13px;
  color: #718096;
  line-height: 1.6;
}
.diagram__graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.valuecom {
  position: relative;
  width: 340px;
  height: 340px;
}
.valuecom__quadrant {
  position: absolute;
  width: 170px;
  height: 170px;
}
.valuecom__quadrant--b {
  top: 0;
  left: 50%;
  transform: translateX(-100%);
  background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.valuecom__quadrant--a {
  top: 0;
  left: 50%;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.valuecom__quadrant--c {
  top: 50%;
  left: 50%;
  transform: translate(-100%, 0);
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}
.valuecom__quadrant--d {
  top: 50%;
  left: 50%;
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.valuecom__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  color: #333;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  line-height: 1.2;
}
.valuecom__badge {
  position: absolute;
  width: 33px;
  height: 33px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 5;
}
.valuecom__badge--a {
  top: 95px;
  left: 65px;
  color: #ff5e62;
  border: 3px solid #ff5e62;
}
.valuecom__badge--b {
  top: 95px;
  right: 65px;
  color: #00a8e8;
  border: 3px solid #00a8e8;
}
.valuecom__badge--c {
  bottom: 95px;
  left: 65px;
  color: #38c172;
  border: 3px solid #38c172;
}
.valuecom__badge--d {
  bottom: 95px;
  right: 65px;
  color: #f6993f;
  border: 3px solid #f6993f;
}
.valuecom__label {
  position: absolute;
  background: white;
  padding: 7px 13px;
  border-radius: 18px;
  font-size: 10px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  text-align: center;
  line-height: 1.3;
  z-index: 5;
}
.valuecom__label--a {
  top: 28px;
  left: -145px;
  color: #ff5e62;
}
.valuecom__label--b {
  top: 28px;
  right: -145px;
  color: #00a8e8;
}
.valuecom__label--c {
  bottom: 28px;
  left: -145px;
  color: #38c172;
}
.valuecom__label--d {
  bottom: 28px;
  right: -145px;
  color: #f6993f;
}
.valuecom__axis {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-align: center;
  z-index: 3;
}
.valuecom__axis--top {
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
}
.valuecom__axis--bottom {
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
}
.valuecom__axis--left {
  left: -65px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
}
.valuecom__axis--right {
  right: -65px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}

/* ============================================
   RTL - FARSI
   ============================================ */
html[lang="fa"] {
  direction: rtl;
}
html[lang="fa"] body {
  font-family: "IRANSansX", "Inter", sans-serif;
  text-align: right;
}
html[lang="fa"] .nav-link i {
  margin-right: 0;
  margin-left: 8px;
}
html[lang="fa"] .nav-link span {
  transform: translateX(-20px);
}
html[lang="fa"] .nav-item:hover .nav-link span {
  transform: translateX(0);
}

html[lang="fa"] .header-container {
  direction: ltr;   
}

html[lang="fa"] .nav-menu {
  direction: rtl;
}

html[lang="fa"] .nav-item,
html[lang="fa"] .nav-link {
  direction: rtl;
}
html[lang="fa"] .hero-image {
  right: auto;
  left: 5%;
}
html[lang="fa"] .stat-hero-number {
  direction: ltr;
}
html[lang="fa"] .impact-number {
  direction: ltr;
}
html[lang="fa"] .news-sidebar-card:hover {
  transform: translateX(-5px);
}
html[lang="fa"] .news-modal-close {
  right: auto;
  left: 14px;
}
html[lang="fa"] .news-cta-button .news-arrow {
  transform: rotate(180deg);
}
html[lang="fa"] .footer-links a,
html[lang="fa"] .footer-services .footer-service-item {
  flex-direction: row;
  justify-content: flex-start;
}
html[lang="fa"] .footer-links a i,
html[lang="fa"] .footer-services .footer-service-item i {
  margin-right: 0;
  margin-left: 8px;
}
html[lang="fa"] .footer-links a i.fa-chevron-right,
html[lang="fa"] .footer-services .footer-service-item i.fa-chevron-right {
  transform: rotate(180deg);
  order: -1;
}
html[lang="fa"] .footer-col:last-of-type .footer-links a i {
  transform: none !important;
  margin-right: 8px;
  margin-left: 0;
  order: -1;
}
html[lang="fa"] a[href^="tel"] {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}
html[lang="fa"] a[href^="tel"] i {
  margin-left: 8px;
  margin-right: 0;
}
html[lang="fa"] .footer-col h3::after {
  left: auto;
  right: 0;
}
html[lang="fa"] .enhance-text {
  text-align: right;
}
html[lang="fa"] .feature-list {
  padding-left: 0;
  padding-right: 20px;
}
html[lang="fa"] .coming-soon-close {
  right: auto;
  left: 12px;
}
html[lang="fa"] .news-modal-close {
  right: auto;
  left: 14px;
}
html[lang="fa"] .platform-card-list li {
  padding-left: 0;
  padding-right: 17px;
}
html[lang="fa"] .platform-card-list li::before {
  left: auto;
  right: 0;
}
html[lang="fa"] .platform-card-list li.more-items {
  padding-right: 17px;
}
html[lang="fa"] .diagram__container {
  direction: rtl;
}
html[lang="fa"] .diagram__text {
  text-align: right;
}
html[lang="fa"] .diagram__info-item {
  padding-left: 0;
  padding-right: 18px;
  border-left: none;
  border-right: 4px solid #667eea;
}
html[lang="fa"] .diagram__info-item:hover {
  transform: translateX(-5px);
}
html[lang="fa"] .OEM-section .footer-note {
  border-left: none;
  border-right: 4px solid var(--secondary-color);
}
html[lang="fa"] .kpi-list li {
  padding-left: 0;
  padding-right: 18px;
}
html[lang="fa"] .kpi-list li::before {
  left: auto;
  right: 0;
}
html[lang="fa"] .getstarted-close {
  right: auto;
  left: 14px;
}
html[lang="fa"] .gs-benefit {
  flex-direction: row;         
  justify-content: flex-start;
  text-align: right;
}
html[lang="fa"] .gs-benefit i {
  order: 0;                     
  flex-shrink: 0;
}
html[lang="fa"] .gs-benefit span {
  order: 1;                    
}

/* ============================================
   FADE-IN ANIMATION
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* about-mission-wrapper: جلوگیری از مخفی موندن به خاطر fade-in */
.about-mission-wrapper {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================
   RESPONSIVE — TABLET (≤1200px)
   ============================================ */
@media (max-width: 1200px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .platform-slider-col {
    position: static;
    order: 2;
  }
  .platform-features-col {
    order: 1;
  }
  .news-main-grid {
    grid-template-columns: 1fr;
  }
  .news-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .team-showcase-card {
    padding: 40px 36px;
  }
  .valuecom {
    width: 310px;
    height: 310px;
  }
  .valuecom__quadrant {
    width: 155px;
    height: 155px;
  }
  .valuecom__center {
    width: 130px;
    height: 130px;
    font-size: 15px;
  }
  .valuecom__label {
    font-size: 9px;
    padding: 6px 10px;
  }
  .valuecom__label--a {
    left: -130px;
  }
  .valuecom__label--b {
    right: -130px;
  }
  .valuecom__label--c {
    left: -130px;
  }
  .valuecom__label--d {
    right: -130px;
  }
}

/* ============================================
   RESPONSIVE — SMALL TABLET (≤992px)
   ============================================ */
@media (max-width: 992px) {
  .hero-image {
    display: none;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  html[lang="fa"] .hero-content {
    text-align: center;
  }
  .enhance-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mobile-app-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mobile-app-visual {
    order: 2;
  }
  .mobile-app-content {
    order: 1;
    text-align: center;
  }
  .mobile-app-description {
    max-width: 100%;
  }
  .mobile-feature {
    text-align: left;
  }
  html[lang="fa"] .mobile-feature {
    text-align: right;
  }
  .mobile-app-buttons {
    justify-content: center;
  }
  .team-members-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .team-showcase-card {
    padding: 36px 26px;
  }
  .manifesto-card {
    padding: 36px 26px;
  }
  .team-header h3 {
    font-size: 1.6rem;
  }
  .team-stats-row {
    flex-wrap: wrap;
    gap: 22px;
    padding: 28px 22px;
  }
  .team-stat-divider {
    display: none;
  }
  .team-stat {
    flex: 0 0 calc(50% - 11px);
  }
  .diagram__container {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 32px;
  }
  .diagram__graphic {
    justify-content: center;
  }
  .newsletter {
    margin-top: 0;
    max-width: 100%;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================ */
@media (max-width: 768px) {
  /* Header */
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 30px;
    transition: left 0.35s ease;
    z-index: 999;
    gap: 2px;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
  }
  .nav-menu.active {
    left: 0;
  }
  html[lang="fa"] .nav-menu {
    left: auto;
    right: -100%;
  }
  html[lang="fa"] .nav-menu.active {
    right: 0;
    left: auto;
  }
  .nav-item {
    margin: 6px 0;
    width: 100%;
  }
  .nav-link {
    font-size: 0.95rem;
    width: 100%;
    padding: 10px 8px;
  }
  .nav-link span {
    opacity: 1;
    transform: none;
  }
  .logo-img {
    height: 30px;
  }
  .logo {
    font-size: 1.7rem;
  }
  .btn.btn-primary {
    padding: 9px 18px;
    font-size: 0.82rem;
  }
  .lang-switch {
    padding: 6px 10px;
  }
  .lang-switch .lang-text {
    display: none;
  }
  .lang-switch .lang-divider {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 130px 0 70px;
    min-height: auto;
  }
  .hero-content {
    text-align: center;
  }
  .hero-stats {
    justify-content: center;
    gap: 20px;
  }
  .hero-buttons {
    justify-content: center;
  }

  /* Sections */
  .enhance {
    padding: 70px 0;
  }
  .enhance-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .enhance-image img {
    height: 140px;
  }
  .why-choose {
    padding: 70px 0;
  }
  .platform {
    padding: 70px 0;
  }
  .platform-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .services {
    padding: 60px 0;
  }
  .mobile-app {
    padding: 70px 0;
  }
  .Workflow {
    padding: 40px 0 30px;
    margin-top: 40px;
  }
  .impact {
    padding: 70px 0;
  }
  .about-mission-wrapper {
    padding: 60px 0;
  }
  .cta {
    padding: 70px 0;
  }
  footer {
    padding: 55px 0 22px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .newsletter {
    max-width: 100%;
    margin-top: 0;
    grid-column: 1 / -1;
  }
  .footer-col h3 {
    font-size: 1.15rem;
  }

  /* Workflow */
  .process-flow {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .arrow {
    transform: rotate(90deg) !important;
  }
  html[lang="fa"] .arrow {
    transform: rotate(90deg) scaleX(-1) !important;
  }
  .step {
    width: 140px;
    height: 140px;
    font-size: 0.82rem;
  }

  /* Platform slider */
  .platform-slider-col {
    position: static;
  }

  /* News */
  .news-container {
    padding: 95px 16px 55px;
  }
  .news-main-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .news-featured-image-wrapper {
    height: 220px;
  }
  .news-bottom-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .news-tabs {
    gap: 8px;
  }
  .news-tab-btn {
    padding: 8px 15px;
    font-size: 11px;
  }

  /* News Modal */
  .news-modal-body-wrapper {
    flex-direction: column;
  }
  .news-modal-image {
    width: 100%;
    min-width: 100%;
    height: 170px;
  }
  .news-modal {
    padding: 22px;
    border-radius: 14px;
  }
  .news-modal-title {
    font-size: 17px;
  }

  /* OEM Table */
  .OEM-section .container {
    padding: 20px 14px;
    border-radius: 10px;
  }
  .OEM-section h1 {
    font-size: 1.5em;
  }
  .OEM-section table.OEM-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.78em;
  }
  .OEM-section .operational th,
  .OEM-section .business th,
  .OEM-section .strategic th {
    writing-mode: horizontal-tb;
    min-width: 130px;
    padding: 10px 12px;
  }
  .OEM-section th,
  .OEM-section td {
    padding: 9px 10px;
  }

  /* Diagram */
  .diagram {
    padding: 0 14px;
  }
  .diagram__container {
    padding: 24px 18px;
    gap: 28px;
    border-radius: 14px;
  }
  .diagram__title {
    font-size: 1.3rem;
  }
  .valuecom {
    width: 260px;
    height: 260px;
  }
  .valuecom__quadrant {
    width: 130px;
    height: 130px;
  }
  .valuecom__center {
    width: 110px;
    height: 110px;
    font-size: 12px;
  }
  .valuecom__badge {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .valuecom__badge--a {
    top: 75px;
    left: 52px;
  }
  .valuecom__badge--b {
    top: 75px;
    right: 52px;
  }
  .valuecom__badge--c {
    bottom: 75px;
    left: 52px;
  }
  .valuecom__badge--d {
    bottom: 75px;
    right: 52px;
  }
  .valuecom__label {
    font-size: 9px;
    padding: 5px 9px;
    white-space: normal;
    max-width: 90px;
    text-align: center;
  }
  .valuecom__label--a {
    left: -100px;
    top: 20px;
  }
  .valuecom__label--b {
    right: -100px;
    top: 20px;
  }
  .valuecom__label--c {
    left: -100px;
    bottom: 20px;
  }
  .valuecom__label--d {
    right: -100px;
    bottom: 20px;
  }
  .valuecom__axis--left {
    left: -55px;
  }
  .valuecom__axis--right {
    right: -55px;
  }

  /* Team */
  .team-member {
    flex-direction: column;
    gap: 16px;
    padding: 22px 18px;
    text-align: center;
    border-radius: 16px;
  }
  .member-avatar {
    margin: 0 auto;
    width: 58px;
    height: 58px;
    min-width: 58px;
  }
  .member-tags {
    justify-content: center;
  }
  .team-stats-row {
    flex-direction: column;
    gap: 18px;
    padding: 22px 18px;
  }
  .team-stat {
    flex: 1;
    width: 100%;
  }
  .manifesto-card {
    padding: 30px 18px;
    border-radius: 18px;
  }
  .manifesto-text {
    font-size: 0.92rem;
    line-height: 1.8;
  }
  .team-showcase-card {
    padding: 26px 16px;
    border-radius: 18px;
  }
  .team-header h3 {
    font-size: 1.35rem;
  }

  /* Get Started */
  .getstarted-dialog {
    grid-template-columns: 1fr;
    max-width: 420px;
    border-radius: 18px;
  }
  .getstarted-left {
    padding: 32px 24px;
  }
  .getstarted-right {
    padding: 32px 24px;
  }
  .getstarted-left h3 {
    font-size: 1.3rem;
  }

  /* Phone mockup - smaller */
  .phone-frame {
    width: 210px;
    height: 430px;
    border-radius: 28px;
  }
  .phone-screen {
    border-radius: 20px;
    padding: 32px 13px 14px;
  }

  /* Misc */
  .cursor {
    display: none;
  }
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
  .hero {
    padding: 110px 0 55px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn {
    text-align: center;
  }
  .hero-stats {
    gap: 14px;
  }

  .enhance-images {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .enhance-image img {
    height: 120px;
  }
  .feature-list {
    font-size: 0.92rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .why-card {
    padding: 28px 20px;
  }

  .platform-card {
    padding: 15px 14px;
  }
  .platform-card-header h3 {
    font-size: 0.85rem;
  }

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

  .phone-frame {
    width: 190px;
    height: 390px;
  }
  .mobile-app-title {
    font-size: 1.5rem;
  }
  .mobile-app-buttons {
    flex-direction: column;
  }
  .mobile-app-buttons .btn {
    text-align: center;
    justify-content: center;
  }
  .modules-tags span {
    font-size: 0.64rem;
    padding: 4px 8px;
  }

  .step {
    width: 125px;
    height: 125px;
    font-size: 0.78rem;
  }

  .impact-stats {
    gap: 22px;
  }

  .cta-title {
    font-size: 1.6rem;
  }
  .cta-subtitle {
    font-size: 0.95rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .newsletter {
    margin-top: 0;
  }

  .news-container {
    padding: 88px 12px 45px;
  }
  .news-featured-content {
    padding: 18px;
  }
  .news-featured-image-wrapper {
    height: 180px;
  }
  .news-bottom-card {
    padding: 18px 16px;
  }
  .news-sidebar-card {
    flex-direction: column;
    gap: 10px;
  }
  .news-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .news-tab-btn {
    flex-shrink: 0;
  }

  .OEM-section .container {
    padding: 16px 10px;
  }
  .OEM-section h1 {
    font-size: 1.3em;
  }
  .OEM-section .description {
    font-size: 0.88em;
  }

  .diagram__container {
    padding: 18px 14px;
  }
  .diagram__title {
    font-size: 1.2rem;
  }
  .valuecom {
    width: 220px;
    height: 220px;
  }
  .valuecom__quadrant {
    width: 110px;
    height: 110px;
  }
  .valuecom__center {
    width: 95px;
    height: 95px;
    font-size: 10px;
  }
  .valuecom__badge {
    width: 25px;
    height: 25px;
    font-size: 11px;
  }
  .valuecom__badge--a {
    top: 60px;
    left: 42px;
  }
  .valuecom__badge--b {
    top: 60px;
    right: 42px;
  }
  .valuecom__badge--c {
    bottom: 60px;
    left: 42px;
  }
  .valuecom__badge--d {
    bottom: 60px;
    right: 42px;
  }
  .valuecom__label--a {
    left: -88px;
  }
  .valuecom__label--b {
    right: -88px;
  }
  .valuecom__label--c {
    left: -88px;
  }
  .valuecom__label--d {
    right: -88px;
  }
  .valuecom__axis--left {
    left: -46px;
    font-size: 10px;
  }
  .valuecom__axis--right {
    right: -46px;
    font-size: 10px;
  }
  .valuecom__axis--top,
  .valuecom__axis--bottom {
    font-size: 10px;
  }

  .manifesto-card {
    padding: 26px 14px;
  }
  .manifesto-text {
    font-size: 0.88rem;
  }
  .team-showcase-card {
    padding: 22px 12px;
  }
  .team-header h3 {
    font-size: 1.2rem;
  }
  .team-member {
    padding: 18px 14px;
  }
  .member-info h4 {
    font-size: 0.95rem;
  }
  .member-bio {
    font-size: 0.78rem;
  }

  .getstarted-overlay {
    padding: 10px;
  }
  .getstarted-dialog {
    border-radius: 16px;
    max-width: 100%;
  }
  .getstarted-left,
  .getstarted-right {
    padding: 26px 16px;
  }
  .getstarted-left h3 {
    font-size: 1.2rem;
  }
  .getstarted-form {
    gap: 13px;
  }

  .process-flow {
    gap: 10px;
  }
  .side-text {
    width: 75px;
    font-size: 0.82rem;
  }
  .button {
    padding: 11px 24px;
    font-size: 0.9rem;
  }
}

/* ============================================
   EXTRA SMALL (≤360px)
   ============================================ */
@media (max-width: 360px) {
  .logo {
    font-size: 1.4rem;
  }
  .logo-img {
    height: 26px;
  }
  .nav-actions {
    gap: 7px;
  }
  .btn.btn-primary {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
  .hero-title {
    font-size: 1.35rem;
  }
  .hero-subtitle {
    font-size: 0.88rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .valuecom {
    width: 190px;
    height: 190px;
  }
  .valuecom__quadrant {
    width: 95px;
    height: 95px;
  }
  .valuecom__center {
    width: 82px;
    height: 82px;
    font-size: 9px;
  }
  .valuecom__label {
    font-size: 8px;
    max-width: 75px;
  }
  .valuecom__label--a,
  .valuecom__label--c {
    left: -78px;
  }
  .valuecom__label--b,
  .valuecom__label--d {
    right: -78px;
  }
  .news-container {
    padding: 82px 10px 40px;
  }
  .cta-title {
    font-size: 1.4rem;
  }
}
