/* =========================================
   DESIGN TOKENS
========================================= */
:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #f59e0b;

  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-light: #ffffff;

  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;

  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-elegant: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 50%,
    #f093fb 100%
  );

  --gradient-dark-card: radial-gradient(
      circle at 0% 0%,
      rgba(99, 102, 241, 0.2) 0%,
      rgba(15, 23, 42, 0) 60%
    ),
    rgba(15, 23, 42, 0.8);

  --glass-bg-dark: rgba(15, 23, 42, 0.8);
  --glass-bg-darker: rgba(15, 23, 42, 0.9);
  --glass-bg-light: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);

  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-full: 999px;

  --shadow-card: 0 20px 60px -5px rgba(0, 0, 0, 0.4);
  --shadow-floating: 0 30px 80px rgba(0, 0, 0, 0.45);

  --nav-height: 72px;
  --nav-height-scrolled: 60px;
}

/* =========================================
   RESET / BASE
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", "Arial", sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

section {
  position: relative;
  padding: 8rem 0;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* =========================================
   SECTION TITLES
========================================= */
.section-title {
  text-align: center;
  font-size: clamp(2rem, 1vw + 2rem, 3.5rem);
  font-weight: 600;
  margin-bottom: 4rem;
  background: var(--gradient-elegant);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* =========================================
   NAV
========================================= */
.nav-wrapper {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 1000;
}

.navbar {
  pointer-events: auto;
  position: relative;
  top: 1rem;
  width: 100%;
  max-width: 1400px;
  height: var(--nav-height);
  margin: 0 1rem;
  padding: 0 1rem;
  border-radius: var(--radius-xl);

  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);

  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.28s ease;
}

.navbar.scrolled {
  height: var(--nav-height-scrolled);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.nav-left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-logo {
  flex-shrink: 0;
  width: 90px;
  height: auto;
  transform: translateY(2px);
}

.brand-info {
  display: grid;
  line-height: 1.2;
}
.brand-text {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  background: var(--gradient-elegant);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.brand-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: #475569;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: 2rem;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-full);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(0, 0, 0, 0);
}

.nav-links a .label {
  display: inline-block;
  transform: translateY(0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.07);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}
.nav-links a:hover .label {
  transform: translateY(-2px);
}

/* right side (desktop) */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-pill {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.8rem 1rem 0.8rem 0.9rem;
  border-radius: var(--radius-full);

  background: rgba(99, 102, 241, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(99, 102, 241, 0.2);

  display: flex;
  align-items: center;
  gap: 0.5rem;

  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta-pill:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.12);
}
.cta-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at 30% 30%, #34d399 0%, #059669 60%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

/* mobile CTA wrapper */
.nav-mobile-side {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

/* bubble-style burger button for mobile */
/* ====== UPDATED MOBILE BURGER BUTTON STYLE (Purple theme) ====== */
.bubble-menu-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);

  /* شیشه تیره با هاله بنفش/آبی مثل گرادینت سایت */
  background: radial-gradient(
      circle at 0% 0%,
      rgba(139, 92, 246, 0.28) 0%,
      /* بنفش روشن */ rgba(0, 0, 0, 0) 60%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(99, 102, 241, 0.22) 0%,
      /* ایندگو/آبی بنفشی */ rgba(0, 0, 0, 0) 70%
    ),
    rgba(15, 23, 42, 0.8); /* همون حس شیشه تیره کارت‎هات */

  /* بوردر با تون بنفش-ایندگو نه سبز */
  border: 2px solid rgba(139, 92, 246, 0.4);

  /* نئون بنفش/آبی شبیه glow کارت‌ها و آیکون‌ها */
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 24px rgba(139, 92, 246, 0.55),
    0 0 48px rgba(99, 102, 241, 0.4);

  display: flex;
  flex-direction: column; /* سه خط زیر هم */
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 0;
  position: relative;
  cursor: pointer;

  /* حالت گلس مثل بقیه کارت‌های تار روشن */
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  backdrop-filter: blur(10px) saturate(180%);
}

/* خود خط‌های همبرگر */
.bubble-menu-btn .bubble-line {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(139, 92, 246, 0.6),
    /* glow بنفش */ 0 0 18px rgba(99, 102, 241, 0.5); /* glow آبی-بنفش */
  transition: all 0.25s ease;
}

/* حالت active برای ضربدر - همونا بمونن */
.bubble-menu-btn.active {
  gap: 0;
}
.bubble-menu-btn.active .bubble-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.bubble-menu-btn.active .bubble-line:nth-child(2) {
  opacity: 0;
}
.bubble-menu-btn.active .bubble-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* turn into "X" when active (menu open) */
.bubble-menu-btn.active {
  gap: 0;
}
.bubble-menu-btn.active .bubble-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.bubble-menu-btn.active .bubble-line:nth-child(2) {
  opacity: 0;
}
.bubble-menu-btn.active .bubble-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* scroll progress bar */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.7) 0%,
    rgba(139, 92, 246, 0.7) 50%,
    rgba(244, 114, 182, 0.7) 100%
  );
  width: 0%;
  pointer-events: none;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

/* =========================================
   MOBILE DRAWER / OVERLAY
========================================= */
#overlayBlur {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);

  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;

  z-index: 900; /* کمتر از منو */
  pointer-events: none; /* مهم: تو حالت پیش‌فرض اصلاً لمس نگیر */
}

#overlayBlur.active {
  opacity: 1;
  visibility: visible;

  pointer-events: auto; /* فقط وقتی اکتیوه می‌تونی کلیک بگیری برای بستن منو */
}

#mobileDrawer {
  position: fixed;
  top: 0;
  right: 0;

  /* ✅ fix: correct viewport height on mobile browsers */
  height: 100dvh;
  height: 100vh; /* fallback */

  width: min(360px, 85vw);
  background: var(--glass-bg-darker);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);

  border-left: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-floating);

  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  z-index: 1000;
  display: flex;
  flex-direction: column;

  /* ✅ fix: give extra bottom space so last button isn't hidden */
  padding: 2rem 1.5rem calc(5.5rem + env(safe-area-inset-bottom)) 1.5rem;

  color: var(--text-light);
  pointer-events: auto;

  /* ✅ fix: drawer should always be scrollable when content is tall */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#mobileDrawer.active {
  transform: translateX(0);
  /* overflow-y: auto;  <-- این دیگه لازم نیست */
}

.mobile-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-profile-block {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #fff;
}
.mobile-brand-logo {
  width: 60px;
  height: auto;
}
.mobile-profile-right {
  display: grid;
  line-height: 1.4;
}
.mobile-profile-name {
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.cert-chip {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
  background: rgba(34, 197, 94, 0.15);
  color: #6ee7b7;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.3rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.cert-chip i {
  font-size: 0.7rem;
}
.mobile-profile-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.mobile-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  color: #fff;
}
.mobile-close-btn i {
  color: #fff;
  font-size: 1rem;
}

.mobile-nav-links {
  list-style: none;
  flex: 1;
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
.mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 500;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow: var(--shadow-card);
  position: relative;
}
.mobile-nav-links a span.label {
  background: var(--gradient-elegant);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mobile-nav-links a i {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.25s ease;
}
.mobile-nav-links a:hover i {
  transform: translateX(4px);
}

.mobile-contact-card {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.mobile-contact-card .contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.mobile-contact-card .contact-icon {
  min-width: 28px;
  min-height: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
  line-height: 28px;
  text-align: center;
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.4);
}

.drawer-big-cta {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;

  border-radius: var(--radius-full);
  padding: 0.9rem 1rem;
  color: #fff;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(16, 185, 129, 0.28) 0%,
      rgba(0, 0, 0, 0) 60%
    ),
    rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(16, 185, 129, 0.4);
}
.drawer-big-cta i {
  font-size: 1rem;
  line-height: 1rem;
}

/* =========================================
   HERO
========================================= */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 4rem);
  background: var(--gradient-elegant);
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
}

/* subtle grid / glow */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  animation: heroFloat 25s ease-in-out infinite;
  opacity: 0.5;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 50%
    );
  animation: heroPulse 4s ease-in-out infinite alternate;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}
@keyframes heroPulse {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.8;
  }
}

/* parallax blobs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: transform 0.1s linear;
}
.orb-a {
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(99, 102, 241, 0.8) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  top: 15%;
  left: 15%;
}
.orb-b {
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(16, 185, 129, 0.7) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  bottom: 20%;
  right: 20%;
}
.orb-c {
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(244, 114, 182, 0.6) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  top: 30%;
  right: 35%;
}

.hero-inner {
  position: relative;
  max-width: 900px;
  padding: 0 1.5rem;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-title {
  font-size: clamp(2rem, 1vw + 2rem, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.8s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  letter-spacing: 0.03em;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  background: rgba(255, 255, 255, 0.18);
}

.hero-cta-primary {
  background: radial-gradient(
      circle at 0% 0%,
      rgba(16, 185, 129, 0.3) 0%,
      rgba(0, 0, 0, 0) 70%
    ),
    rgba(16, 185, 129, 0.25);
  border: 2px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(16, 185, 129, 0.4);
  color: #fff;
}
.hero-cta-primary:hover {
  background: radial-gradient(
      circle at 0% 0%,
      rgba(16, 185, 129, 0.4) 0%,
      rgba(0, 0, 0, 0) 70%
    ),
    rgba(16, 185, 129, 0.35);
}

.hero-cta-ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 1s forwards;
}

.fact-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;

  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.fact-icon {
  font-size: 1rem;
  line-height: 1rem;
}

/* scroll indicator */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border-radius: 25px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}
.scroll-indicator:hover {
  border-color: rgba(255, 255, 255, 0.9);
}
.scroll-indicator::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 20px);
    opacity: 0;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   ABOUT
========================================= */
.about {
  background: var(--bg-secondary);
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 10% 20%,
    rgba(99, 102, 241, 0.05) 0%,
    transparent 50%
  );
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 3rem 4rem;
  align-items: flex-start;
}

/* profile card */
.about-profile-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  align-self: start;
}

.profile-card-inner {
  display: flex;
  gap: 1rem;
}
.profile-avatar .avatar-fake {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: radial-gradient(
      circle at 0% 0%,
      rgba(139, 92, 246, 0.2) 0%,
      rgba(0, 0, 0, 0) 60%
    ),
    linear-gradient(135deg, #312e81 0%, #4c1d95 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(139, 92, 246, 0.5);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.profile-info-block {
  display: grid;
  gap: 0.75rem;
}
.profile-name-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}
.profile-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}
.profile-chip {
  font-size: 0.7rem;
  font-weight: 500;
  background: rgba(34, 197, 94, 0.08);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.profile-chip i {
  font-size: 0.7rem;
  line-height: 1;
}

.profile-detail {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pro-tag {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary-color);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.profile-stats-row {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.stat-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}
.stat-num {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-secondary);
}

/* text column */
.about-text-col {
  display: grid;
  gap: 2.5rem;
}

.about-block h3 {
  font-size: clamp(1.4rem, 0.4vw + 1rem, 2rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.about-block p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.about-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.check-icon {
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  line-height: 1rem;
  height: 1rem;
  width: 1rem;
  display: grid;
  place-items: center;
  font-weight: 600;
}

/* =========================================
   SERVICES
========================================= */
.services {
  background: var(--bg-primary);
}

.service-segments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.segment-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--radius-full);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.6rem 1rem;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
}
.segment-btn.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: rgba(0, 0, 0, 0);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.5);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);

  padding: 2rem;
  text-align: left;
  opacity: 0;
  transform: translateY(20px) rotateX(2deg) rotateY(-1deg);
  transform-origin: center top;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
  backdrop-filter: blur(10px);
}
.service-card.animate {
  opacity: 1;
  transform: translateY(0) rotateX(0) rotateY(0);
}
.service-card:hover {
  transform: translateY(-6px) rotateX(0.5deg) rotateY(-0.5deg) scale(1.02);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.18);
}

.service-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon-badge {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.service-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.focus-tags span {
  font-size: 0.7rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.4rem 0.6rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* service bottom callout */
.service-callout-card {
  margin-top: 3rem;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(99, 102, 241, 0.08) 0%,
      rgba(0, 0, 0, 0) 60%
    ),
    rgba(255, 255, 255, 0.9);

  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xl);
  padding: 2rem 2rem;
}

.callout-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.callout-text {
  max-width: 600px;
}
.callout-headline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.callout-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.callout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;

  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;

  color: #fff;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  padding: 0.9rem 1.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.4);
  border: 0;
}
.callout-btn i {
  font-size: 1rem;
  line-height: 1rem;
}

/* =========================================
   CONTACT
========================================= */
.contact {
  background: linear-gradient(135deg, #3b4cb8 0%, #4a2c65 50%, #9c35a8 100%);
  color: var(--text-light);
  overflow: hidden;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-grid" width="8" height="8" patternUnits="userSpaceOnUse"><path d="M 8 0 L 0 0 0 8" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-grid)"/></svg>');
  animation: contactFloat 30s ease-in-out infinite;
  opacity: 0.6;
}
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 25% 75%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 25%,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 70%
    );
  animation: contactPulse 6s ease-in-out infinite alternate;
}
@keyframes contactFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-15px) rotate(0.5deg);
  }
  66% {
    transform: translateY(-10px) rotate(-0.5deg);
  }
}
@keyframes contactPulse {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.7;
  }
}

.contact-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  z-index: 2;
}

.contact .section-title {
  color: var(--text-light);
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 2rem auto;
}

/* info bar */
.contact-info-bar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-floating);

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;

  text-align: left;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}
.contact-icon {
  font-size: 1rem;
  line-height: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.6rem;
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.4);
}
.contact-text {
  display: grid;
  line-height: 1.3;
}
.contact-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.contact-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  word-break: break-word;
}

/* form */
.contact-form {
  margin-top: 1rem;
  display: grid;
  gap: 2rem;

  color: var(--text-light);
  text-align: left;

  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 2rem 2rem 3.5rem;
  box-shadow: var(--shadow-floating);
  position: relative;
}

.form-headline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  margin-bottom: -0.5rem;
  letter-spacing: -0.03em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group {
  display: grid;
  gap: 0.75rem;
  text-align: left;
}
.form-group label {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  resize: vertical;
  width: 100%;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}
.form-group select option {
  color: #000;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
  padding: 1.2rem 3rem;
  background: var(--gradient-primary);
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.6);
}
.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.75);
}

/* toast feedback after submit */
.form-toast {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;

  display: flex;
  align-items: flex-start;
  gap: 0.75rem;

  background: var(--glass-bg-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow: var(--shadow-floating);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);

  padding: 1rem 1rem 1rem 1rem;
  min-width: min(340px, 90%);
  max-width: 90%;
}
.form-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.toast-icon {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  border-radius: var(--radius-md);
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: grid;
  place-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(16, 185, 129, 0.45);
}
.toast-icon i {
  font-size: 1rem;
}
.toast-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  line-height: 1.3;
  color: #fff;
}
.toast-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}
.toast-close {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 0;
  cursor: pointer;
  margin-left: auto;
  font-size: 0.85rem;
  line-height: 1rem;
}
.toast-close:hover {
  color: #fff;
}

/* =========================================
   FOOTER
========================================= */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
  color: var(--text-light);
  padding: 4rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grid" width="12" height="12" patternUnits="userSpaceOnUse"><path d="M 12 0 L 0 0 0 12" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grid)"/></svg>');
  opacity: 0.4;
}
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(99, 102, 241, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(139, 92, 246, 0.08) 0%,
      transparent 50%
    );
}

/* 3 columns */
.footer-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 2rem 3rem;
  align-items: start;
}

.footer-col {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-brand-name {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.4rem;
  background: var(--gradient-elegant);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-brand-line {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  max-width: 260px;
}
.footer-copy {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.footer-head {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-links,
.footer-contact {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}
.footer-links a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.7);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact i {
  font-size: 0.8rem;
  line-height: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.provider-link {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  color: #999;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.provider-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.7);
  transform: translateY(-1px);
}

/* =========================================
   ANIMATION HELPERS
========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1200px) {
  .brand-logo {
    width: 80px;
  }
  .brand-text {
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-profile-card {
    position: relative;
    top: 0;
    max-width: 400px;
    margin: 0 auto;
  }

  .faq-body {
    grid-template-columns: 1fr;
  }
  /* ============================
   FAQ BLOCK (Kind Steps ABA)
============================ */

  /* کل سکشن */
  .faq-block {
    background: var(--bg-secondary);
    position: relative;
  }

  /* کارت سفید داخل FAQ */
  .faq-card {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);

    padding: 2rem 2rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  /* هدر کارت (eyebrow + title) */
  .faq-card-head {
    max-width: 800px;
  }

  /* ایبرو بالا: What is ABA? */
  .faq-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-full);
    padding: 0.4rem 0.75rem;
    display: inline-block;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  /* عنوان بزرگ FAQ */
  .faq-title {
    font-size: clamp(1.4rem, 0.5vw + 1rem, 2rem);
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
  }

  /* بدنه کارت: دو ستون متن و لیست */
  .faq-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
  }

  /* متن پاراگراف‌ها در ستون چپ */
  .faq-body p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
  }

  /* لیست بولت‌های سمت راست */
  .faq-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
  }

  .faq-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
  }

  /* دونه بنفش کنار هر آیتم */
  .faq-list .dot {
    flex-shrink: 0;
    width: 0.6rem;
    height: 0.6rem;
    margin-top: 0.45rem;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
  }

  /* دکمه CTA پایین لیست (Talk to me...) */
  .faq-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;

    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;

    background: var(--gradient-primary);
    color: #fff;
    border-radius: var(--radius-full);
    padding: 0.9rem 1.2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.4);
  }

  .faq-cta i {
    font-size: 1rem;
    line-height: 1rem;
  }

  /* ================
   RESPONSIVE FAQ
   (مخصوص موبایل / تبلت)
================ */

  /* زیر 1024px: دو ستون میشه یک ستون */
  @media (max-width: 1024px) {
    .faq-body {
      grid-template-columns: 1fr;
    }
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  /* desktop nav stuff hide */
  .nav-links,
  .nav-cta {
    display: none;
  }

  /* mobile burger show */
  .nav-mobile-side {
    display: flex;
  }

  .navbar {
    margin: 0 1rem;
    border-radius: var(--radius-lg);
    padding: 0 0.75rem;
  }

  .brand-logo {
    width: 70px;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .brand-tagline {
    font-size: 0.6rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-desc {
    font-size: 1.05rem;
  }

  .contact-info-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .navbar {
    top: 0.5rem;
    margin: 0 0.5rem;
    border-radius: var(--radius-lg);
    height: calc(var(--nav-height) - 10px);
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-facts {
    gap: 0.5rem;
  }
  .fact-chip {
    font-size: 0.7rem;
    padding: 0.5rem 0.7rem;
  }

  .container {
    padding: 0 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  .form-toast {
    left: 50%;
    bottom: 0.5rem;
  }
}
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* جلو اسکرول چپ/راست */
  position: relative;
}
.nav-wrapper {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 1000;

  /* اضافه‌های جدید برای آیفون */
  padding-top: constant(safe-area-inset-top);
  padding-top: env(safe-area-inset-top);
}
@media (max-width: 768px) {
  /* footer container smaller / tighter */
  .footer {
    padding: 1.5rem 0 2rem !important;
  }

  /* stack everything vertically, centered */
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.75rem !important;
  }

  /* base style for each block */
  .footer-col {
    width: 100% !important;
    max-width: 340px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
  }

  /* -------- BLOCK 1: Brand / About / © / milink -------- */
  .footer-col:nth-child(1) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    padding: 1rem 1rem 0.75rem !important;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(139, 92, 246, 0.4) !important;
  }

  .footer-brand-name {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.25rem !important;
  }

  .footer-brand-line {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    max-width: 260px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 0.5rem !important;
  }

  .footer-copy {
    font-size: 0.7rem !important;
    color: rgba(255, 255, 255, 0.45) !important;
    margin-top: 0.5rem !important;
  }

  .provider-link {
    order: 3;
    margin-top: 0.5rem !important;
    font-size: 0.7rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    transform: none !important;
  }
  .provider-link:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.6) !important;
  }

  /* -------- BLOCK 2: Site links in ONE LINE row -------- */
  .footer-col:nth-child(2) {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    padding: 0.75rem 1rem !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(99, 102, 241, 0.4) !important;
  }

  .footer-col:nth-child(2) .footer-head {
    font-size: 0.7rem !important;
    margin-bottom: 0.5rem !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    text-align: center !important;
  }

  .footer-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    row-gap: 0.4rem !important;
    column-gap: 0.75rem !important;
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .footer-links li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .footer-links a {
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.75) !important;
  }

  .footer-links a:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.6) !important;
  }

  /* -------- BLOCK 3: Contact compressed -------- */
  .footer-col:nth-child(3) {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    padding: 0.75rem 1rem !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(139, 92, 246, 0.4) !important;
  }

  .footer-col:nth-child(3) .footer-head {
    font-size: 0.7rem !important;
    margin-bottom: 0.5rem !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    text-align: center !important;
  }

  .footer-contact {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    text-align: center !important;
  }

  .footer-contact li {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .footer-contact i {
    font-size: 0.7rem !important;
    line-height: 1rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }

  /* make headings smaller globally in footer */
  .footer-head {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
  }
}
/* ============================
   FAQ BLOCK
============================ */

/* سکشن پس‌زمینه‌ی خاکستری روشن */
.faq-block {
  background: var(--bg-secondary);
  position: relative;
}

/* کارت سفید وسط */
.faq-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  padding: 2rem 2rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* سر کارت */
.faq-card-head {
  max-width: 800px;
}

.faq-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.75rem;
  display: inline-block;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.faq-title {
  font-size: clamp(1.4rem, 0.5vw + 1rem, 2rem);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2rem;
}

/* بدنه: دو ستون */
.faq-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}

.faq-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* لیست سمت راست */
.faq-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.faq-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.faq-list .dot {
  flex-shrink: 0;
  width: 0.6rem;
  height: 0.6rem;
  margin-top: 0.45rem;
  border-radius: var(--radius-full);
  background: var(--primary-color);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

/* دکمه پایین لیست */
.faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;

  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;

  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.9rem 1.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.4);
}
.faq-cta i {
  font-size: 1rem;
  line-height: 1rem;
}

/* --- ریسپانسیو FAQ فقط همین سه خطه --- */
@media (max-width: 1024px) {
  .faq-body {
    grid-template-columns: 1fr;
  }
}
/* ===== Social Icons (Footer & Contact) ===== */
.social-links,
.contact-social-icons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-links {
  margin-top: 0.75rem;
}

.contact-social-row {
  margin: 1rem auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}

.contact-social-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.social-icon {
  --size: 40px;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
}
.social-icon i {
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

/* Hover glows per brand */
.social-icon.ig:hover {
  transform: translateY(-3px) scale(1.05);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(244, 114, 182, 0.35) 0%,
    rgba(99, 102, 241, 0.25) 60%
  );
  border-color: rgba(244, 114, 182, 0.6);
  box-shadow: 0 25px 60px rgba(244, 114, 182, 0.35),
    0 0 30px rgba(99, 102, 241, 0.45);
}
.social-icon.x:hover {
  transform: translateY(-3px) scale(1.05);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(148, 163, 184, 0.25) 0%,
    rgba(30, 41, 59, 0.5) 60%
  );
  border-color: rgba(148, 163, 184, 0.55);
  box-shadow: 0 25px 60px rgba(148, 163, 184, 0.35),
    0 0 30px rgba(30, 41, 59, 0.5);
}
.social-icon.fb:hover {
  transform: translateY(-3px) scale(1.05);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(59, 130, 246, 0.35) 0%,
    rgba(37, 99, 235, 0.35) 60%
  );
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.35),
    0 0 30px rgba(37, 99, 235, 0.45);
}
.social-icon.wa:hover {
  transform: translateY(-3px) scale(1.05);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(16, 185, 129, 0.35) 0%,
    rgba(5, 150, 105, 0.35) 60%
  );
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 25px 60px rgba(16, 185, 129, 0.35),
    0 0 30px rgba(5, 150, 105, 0.45);
}

/* smaller on mobile */
@media (max-width: 480px) {
  .social-icon {
    --size: 36px;
  }
  .contact-social-label {
    font-size: 0.72rem;
  }
}
/* --- FIX: center social icons on mobile --- */
@media (max-width: 768px) {
  .social-links,
  .contact-social-icons {
    justify-content: center !important; /* ردیف آیکون‌ها وسط */
    width: 100%;
  }

  /* اگر داخل ستون سوم فوتر هستند، مطمئن شو خود ستون هم وسط‌چین است */
  .footer-col:nth-child(3) {
    text-align: center !important;
  }

  /* برای اطمینان از حذف هر مارجین ناخواسته */
  .footer-col .social-links {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
