@font-face {
  font-family: "Vazirmatn";
  src: url("../font/Vazirmatn[wght].ttf");
  font-weight: 125 950;
  font-stretch: 75% 125%;
  font-style: oblique 0deg 12deg;
}

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

:root {
  --bg: #ececec;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #ffffff;
  --ink: #111214;
  --muted: #696d73;
  --soft: #f6f6f4;
  --line: rgba(20, 22, 26, 0.12);
  --line-strong: rgba(20, 22, 26, 0.2);
  --charcoal: #17191d;
  --graphite: #272b31;
  --silver: #c7c9ca;
  --platinum: #e7e5df;
  --pearl: #faf9f6;
  --champagne: #b7a782;
  --accent: #c89968;
  --accent-subtle: rgba(200, 153, 104, 0.12);
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow: 0 28px 80px rgba(18, 20, 24, 0.14);
  --shadow-soft: 0 16px 42px rgba(18, 20, 24, 0.08);
  --primary-color: var(--accent);
  --secondary-color: var(--charcoal);
  --border-color: var(--line);
  --success: #2f6b3f;
  --error: #9b3b3b;
}

html {
  scroll-behavior: smooth;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

.text-justify {
  text-align: justify;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 6%, rgba(255, 255, 255, 0.9), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(190, 190, 188, 0.34), transparent 30rem),
    linear-gradient(135deg, #f7f7f5 0%, #dedede 48%, #f8f7f3 100%);
  color: var(--ink);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  direction: rtl;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(17, 18, 20, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 20, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

hr {
  border-color: var(--line);
  opacity: 1;
}

.header {
  background: rgba(236, 236, 236, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
}

.logo svg {
  filter: grayscale(1) contrast(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--ink);
}

.btn-questionnaire-cta,
.btn-contact-cta,
.services-contact-btn,
.cta-btn,
.btn-modal-next {
  border: 1px solid var(--charcoal) !important;
  outline: none;
  background: linear-gradient(135deg, #363a40, #111214) !important;
  color: #ffffff !important;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(17, 18, 20, 0.18);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.btn-questionnaire-cta:hover,
.btn-contact-cta:hover,
.services-contact-btn:hover,
.cta-btn:hover,
.btn-modal-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(17, 18, 20, 0.24);
  color: #ffffff !important;
}

.btn-contact-cta {
  background: transparent !important;
  color: var(--ink) !important;
  border-color: var(--line-strong) !important;
  box-shadow: none;
}

.btn-contact-cta:hover {
  background: var(--surface-solid) !important;
  color: var(--ink) !important;
}

.hero-container {
  margin: 28px auto 20px;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hero-container::before,
.hero-container::after,
.funnel-stages-container::before,
.end-cta::before {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-container::before {
  width: 180px;
  height: 180px;
  right: 8%;
  top: 8%;
  border-radius: 999px;
}

.hero-container::after {
  width: 110px;
  height: 110px;
  left: 5%;
  bottom: 10%;
  border-radius: 28px;
  transform: rotate(45deg);
}

.hero-title,
.about-first-title,
.services-title,
.services-intro-title,
.all-in-one-title,
.about-us-title,
.cta-content h3 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.hero-subtitle,
.about-first-subtitle,
.services-subtitle,
.services-intro-text,
.all-in-one-desc,
.about-us-desc,
.service-card p,
.funnel-stage p {
  color: var(--muted);
}

.hero-subtitle {
  font-weight: 400;
  font-size: 1.08rem;
  text-align: center;
}

.about-first-section,
.services-section,
.about-section {
  padding: 1rem 0;
}

.about-first-title,
.about-us-title {
  font-size: clamp(1.85rem, 3.2vw, 3.1rem);
  text-align: center;
}

.about-first-subtitle,
.about-first-body,
.about-us-desc,
.all-in-one-desc,
.all-in-one-list {
  font-size: 1.08rem;
}

.about-first-body,
.about-us-desc {
  text-align: justify;
  line-height: 2;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--accent);
  text-shadow: none;
}

.services-title {
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  text-align: center;
}

.services-subtitle {
  text-align: center;
  font-size: 1.18rem;
}

.funnel-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.55rem;
  text-shadow: none;
}

.funnel-stages-container,
.end-cta {
  background: linear-gradient(135deg, #2b2f35 0%, #111214 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem 3rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.funnel-stages-container::before {
  width: 160px;
  height: 160px;
  left: 3%;
  top: 12%;
  border-radius: 999px;
}

.funnel-stage,
.service-card {
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.funnel-stage {
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  height: 100%;
}

.funnel-stage:hover,
.service-card:hover,
.feature-item:hover,
.modal-quiz-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 44px rgba(17, 18, 20, 0.12);
  border-color: var(--line-strong);
}

.stage-number {
  width: 60px;
  height: 60px;
  background: var(--accent-subtle);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 auto 1rem;
  box-shadow: none;
  position: relative;
}

.stage-number span {
  position: relative;
  z-index: 1;
}

.stage-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  filter: grayscale(1);
}

.funnel-stage h3,
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.funnel-stage p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.stage-result {
  background: var(--accent-subtle);
  padding: 0.7rem;
  border-radius: 14px;
  font-size: 0.85rem;
  color: var(--ink);
  margin-top: 1rem;
  border: 1px solid rgba(200, 153, 104, 0.2);
}

.stage-result strong,
.service-subtitle,
.hover-link:hover,
.social-links a:hover {
  color: var(--accent) !important;
}

.services-intro {
  padding: 2rem 1rem 0.5rem;
}

.services-intro-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.services-intro-text {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.service-card {
  height: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-icon-wrapper {
  width: 92px;
  height: 92px;
  background: var(--accent-subtle);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.06) rotate(3deg);
  background: rgba(200, 153, 104, 0.18);
}

.service-icon {
  font-size: 3rem;
  filter: grayscale(1);
}

.service-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 0;
}

.service-features {
  list-style: none;
  padding: 0;
  text-align: center;
  width: 100%;
}

.service-features li {
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.service-features li:last-child {
  border-bottom: none;
}

.services-contact-btn {
  padding: 0.8rem 2rem;
  margin-top: auto;
}

.end-cta {
  padding: 3rem 2rem;
  text-align: center;
}

.end-cta::before {
  width: 180px;
  height: 180px;
  right: 8%;
  top: -40px;
  border-radius: 999px;
}

.cta-content h3 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  padding: 1rem 3rem;
  font-size: 1rem;
}

.all-in-one-title {
  font-weight: 800;
}

.all-in-one-desc {
  color: var(--muted);
}

.all-in-one-list {
  list-style: disc;
  color: var(--muted);
  line-height: 2;
}

.modal-quiz-option {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--surface);
  border-radius: 18px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.modal-quiz-option:hover,
.modal-quiz-option-selected {
  background: var(--charcoal);
  color: #ffffff;
}

.bg-orange-progress {
  background-color: var(--accent);
}

.footer,
.footer.bg-dark {
  background: linear-gradient(135deg, #17191d 0%, #272b31 100%) !important;
  color: #ffffff;
  text-align: center;
  padding: 2rem 0;
  box-shadow: 0 -24px 60px rgba(18, 20, 24, 0.12);
}

.footer h5,
.footer [style*="color"] {
  color: var(--accent) !important;
}

.hover-link,
.social-links a {
  transition: all 0.3s ease;
}

.hover-link:hover {
  transform: translateX(-5px);
}

.social-links a {
  display: inline-block;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.special-offer {
  background: linear-gradient(135deg, #2b2f35 0%, #111214 100%);
  color: #ffffff;
  text-align: center;
}

.special-offer h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .navbar {
    justify-content: center;
  }

  .hero-container,
  .funnel-stages-container,
  .end-cta {
    border-radius: 24px;
    padding: 1.5rem 1rem;
  }

  .services-title {
    font-size: 2rem;
  }

  .funnel-title,
  .services-intro-title,
  .cta-content h3 {
    font-size: 1.5rem;
  }

  .services-intro-text,
  .cta-content p {
    font-size: 1rem;
  }

  .about-us-desc {
    padding: 0 0.5rem;
  }

  .footer .col-md-6 {
    text-align: center !important;
  }
}
