/* $$$$$$$$$$$$$------------------ @@@@@@@@@@@@@@@@@@@@@@ ------------------$$$$$$$$$$$$$  */
/* $$$$$$$$$$$$$------------------ @@@@@@@@@@@@@@@@@@@@@@ ------------------$$$$$$$$$$$$$  */
/* $$$$$$$$$$$$$------------------ Mr.iNFiNiX Custom Font ------------------$$$$$$$$$$$$$  */
/* $$$$$$$$$$$$$------------------ @@@@@@@@@@@@@@@@@@@@@@ ------------------$$$$$$$$$$$$$  */
/* $$$$$$$$$$$$$------------------ @@@@@@@@@@@@@@@@@@@@@@ ------------------$$$$$$$$$$$$$  */
@font-face {
  font-family: Yekan;
  src: url('assets/Font/Yekan.ttf');
}

@font-face {
  font-family: YekanPlus;
  src: url('assets/Font/YEKANPLUS.TTF');
}

@font-face {
  font-family: PersianYekan;
  src: url('assets/Font/Persian-Yekan.ttf');
}

@font-face {
  font-family: DimaYekanOutline;
  src: url('assets/Font/DimaYekanOutline.ttf');
}

@font-face {
  font-family: BYekan;
  src: url('assets/Font/BYekan.ttf');
}

@font-face {
  font-family: BYekanBold;
  src: url('assets/Font/BYekan.ttf');
}

@font-face {
  font-family: Peyda;
  src: url('assets/Font/Peyda-SemiBold.ttf');
}

@font-face {
  font-family: IRANSansX;
  src: url('assets/Font/Iranian\ Sans.ttf');
}

@font-face {
  font-family: DongShort;
  src: url('assets/Font/Dang-Short.ttf');
}

@font-face {
  font-family: DongLong;
  src: url('assets/Font/Dang-Short.ttf');
}

@font-face {
  font-family: PARADOX-Regular;
  src: url('assets/Font/PARADOX-Regular.ttf');
}

@font-face {
  font-family: PARADOXLINE-Regular;
  src: url('assets/Font/PARADOXLINE-Regular.ttf');
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes activeIn {
  from {
    opacity: 0;
    transform: rotateY(90deg);
  }

  to {
    opacity: 1;
    transform: rotateY(0deg);
  }
}

:root {
  --body-bg: radial-gradient(circle at top left, rgba(215, 179, 106, 0.12), transparent 30%),
    radial-gradient(circle at right top, rgba(142, 211, 255, 0.14), transparent 32%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  --category-dropdown-bg: radial-gradient(circle at top left, rgb(215 201 106 / 14%), #ff202000 30%), radial-gradient(circle at right top, rgb(255 248 142 / 14%), transparent 32%), linear-gradient(180deg, #040a0fde, #0b1826ba);
  --conversation-bg: #08101b33;

  --navbar-bg-light: rgba(7, 17, 27, 0.55);
  --navbar-bg-dark: rgba(10, 15, 20, 0.65);
  --circle-progressBar-bg: #0b1826;
  --bg: #06111b;
  --bg-2: #0b1826;
  --bg-modal: #161a1f7a;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.12);
  /* --border: rgba(255, 255, 255, 0.14); */
  --border: #ddc48b75;
  --text: #f5f7fb;
  --muted: #b8c1d1;
  --accent: #d7b36a;
  --accent-2: #8ed3ff;
  --danger: #ff7c7c;
  --warning: #d7b36a;
  --primary: #7ac8ff;
  --success: #7cffb2;
  --purple: #ff7cf6;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --container: 1200px;
  --color-gold-bg-soft: rgba(216, 170, 93, 0.045);
  --color-gold-border-soft: rgba(216, 170, 93, 0.21);


  --color-text-soft: #c5c1b9;
  --color-text-dark: #000;
  --color-muted: #8e908e;
  --color-gold: #d8aa5d;
  --color-gold-soft: #f0ca80c2;
  --color-gold-light: #f0ca80;
  --color-gold-dark: #9a6c31;
  --color-success: #65ad82;
  --color-danger: #b66c66;
  --border-strong: rgba(255, 255, 255, 0.19);
  --border-color: rgba(255, 255, 255, 0.105);
  --radius-xs: 8px;
  --radius-sm: 16px;
  --radius-md: 15px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.55);
  --transition: 500ms ease;
  --shadow-panel: 0px 0px 20px 1px #eacb8a;

  --header-height: 74px;



  --font-heading: "Peyda", BYekanBold, "IRANSansX", sans-serif;
  --font-body: BYekanBold, DongShort, DongLong, "IRANSansX", sans-serif;
  --font-ui: "Inter", "IRANSansX", sans-serif;

  /* Font Sizes */
  --fs-display: clamp(2.8rem, 2.2rem + 2vw, 4.8rem);
  /* Hero title */
  --fs-h1: clamp(2.2rem, 1.8rem + 1.5vw, 3.4rem);
  --fs-h2: clamp(1.8rem, 1.5rem + 1vw, 2.6rem);
  --fs-h3: clamp(1.4rem, 1.2rem + 0.8vw, 2rem);
  --fs-h4: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);

  --fs-body-lg: 1.125rem;
  /* 18px */
  --fs-body: 1rem;
  /* 16px */
  --fs-body-sm: 0.9375rem;
  /* 15px */
  --fs-caption: 0.8125rem;
  /* 13px */

  --fs-button-lg: 1rem;
  --fs-button: 0.9375rem;
  --fs-button-sm: 0.875rem;

  --fs-card-title: 1.125rem;
  --fs-card-text: 0.9375rem;
  --fs-label: 0.875rem;

  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Line Heights */
  --lh-tight: 1.2;
  --lh-heading: 1.35;
  --lh-body: 1.9;
  --lh-ui: 1.5;

  /* Letter Spacing */
  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.02em;

  --cursor-pointer: url('/assets/Images/cursor/pointer.png')12 3, pointer;
  --cursor-default: url('/assets/Images/cursor/default.png')12 3, default;
}

[data-theme="gold"] {
  --body-bg: radial-gradient(circle at 15% 15%, rgba(193, 143, 76, 0.18), transparent 32rem),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.08), transparent 28rem),
    linear-gradient(135deg, #0d0f0f 0%, #171311 45%, #080909 100%);
  --category-dropdown-bg: radial-gradient(circle at 15% 15%, rgb(193 143 76 / 7%), #0000007a 32rem), radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.08), transparent 28rem), linear-gradient(135deg, #0d0f0f33 0%, #171311bf 45%, #0809097d 100%);
  --conversation-bg: #1b140833;

  --navbar-bg-dark: #6e500017;
  --navbar-bg-light: rgba(255, 255, 255, 0.06);
  --circle-progressBar-bg: #26200b;
}

/* 1. تنظیمات عمومی نوار اسکرول برای Webkit (کروم/اج) */
::-webkit-scrollbar {
  width: 10px;
  /* کمی نازک‌تر برای ظاهر مدرن‌تر */
}

/* 2. پس‌زمینه نوار (Track) - رنگ بسیار روشن و ملایم */
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.099);
  /* شفافیت کم، رنگ سفید */
  border-radius: 10px;
}

/* 3. نوار اسکرول (Thumb) - مرکز تمرکز گلس مورفیسم */
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  /* نیمه شفاف */
  border-radius: 10px;
  /* افزودن یک حاشیه یا سایه روشن برای عمق */
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

/* 4. هنگام هاور (Hover) - کمی شفافیت را کم می‌کنیم تا حس تعامل ایجاد شود */
::-webkit-scrollbar-thumb:hover {
  background: rgba(36, 239, 242, 0.7);
}

/* 5. برای فایرفاکس (تنها تنظیمات رنگی قابل پشتیبانی است) */
* {
  scrollbar-width: thin;
  /* استفاده از رنگ‌های بسیار روشن و شفاف */
  scrollbar-color: var(--accent) #403516;
}

input[type="number"]::-webkit-scrollbar {
  display: none;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* برای خود فیلد ورودی در مرورگرهای WebKit */
input[type="number"] {
    -moz-appearance: textfield;
    /* برای فایرفاکس */
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: var(--cursor-default);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--body-bg);
  /* background: radial-gradient(circle at 15% 15%, rgba(193, 143, 76, 0.18), transparent 32rem),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.08), transparent 28rem),
    linear-gradient(135deg, #0d0f0f 0%, #171311 45%, #080909 100%); */
  /* background: radial-gradient(circle at top right, rgba(217, 171, 102, 0.08), transparent 25%), radial-gradient(circle at left bottom, rgba(217, 171, 102, 0.05), transparent 20%), linear-gradient(180deg, #090b0f 0%, #0e1116 100%); */
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: var(--cursor-pointer);
}

button,
input,
textarea {
  font: inherit;
}

input,
textarea {
  width: 100% !important;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0.95rem 1rem;
  outline: none;
  font-size: 0.95rem;
}

input {
  transition: all ease 0.5s;

}

input:focus,
textarea:focus {
  border-color: rgb(215 179 106 / 85%);
  box-shadow: 0 0 5px 3px rgb(215 179 106 / 33%);
}

label:focus-within {
  color: var(--accent);
}

label {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 1.35rem;
  transition: all ease 0.5s;
}

ul {
  padding: 0;
  margin: 0;
  /* list-style: none; */
  list-style: inside;
}

li {
  list-style: none;
  /* list-style: inside; */
}

li::marker {
  color: var(--accent);
}

.display {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
}

h1, .h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

h2, .h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

h3, .h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  color: var(--text-primary);
}

h4, .h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  color: var(--text-primary);
}

img.hero-image {
  position: absolute;
  /* border-radius: 20px; */
  z-index: -1;
  width: 100%;
  height: 125%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.08) brightness(0.78);
  top: -19%;
  border-radius: 0px 0px 40px 40px;
  animation: fadeIn 0.8s ease-out forwards;
}


.dis-none {
  display: none;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.p-04 {
  padding: 0.5rem;
}

.d-flex {
  display: flex;
}

.flex-direction-column {
  flex-direction: column;
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

.flex-3 {
  flex: 3;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.align-content-center {
  align-content: center !important;
}

.justify-items-center {
  justify-items: center !important;
}

.full-width {
  width: 100%;
}

.height-300 {
  height: 300px;
}

.hidden {
  display: none !important;
}

.show-animate {
  animation: fadeIn 0.5s ease-out forwards;
}

.start-animate {
  animation: activeIn 2s ease-out forwards;
}

.max-height-400 {
  max-height: 400px;
  /* min-height: 50vh; */
  /* min-height: 400px; */
  overflow-y: overlay;
  scrollbar-width: none;
}


.gold-button {
  min-height: 42px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #18120b;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(255, 226, 169, 0.35);
  border-radius: 12px;
  background: linear-gradient(110deg, #bd873d, #efc979 52%, #c68e42);
  box-shadow: 0 8px 24px rgba(190, 133, 58, 0.18), inset 0 1px rgba(255, 255, 255, 0.45);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.gold-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 32px rgba(190, 133, 58, 0.28), inset 0 1px rgba(255, 255, 255, 0.5);
}

.small-btn {
  padding: 10px;
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--color-text-soft);
  font: inherit;
  font-size: 0.76rem;
  background: transparent;

  cursor: var(--cursor-pointer);
  transition: color 180ms ease;
}

.text-button:hover {
  color: var(--color-gold-light);
}

.glass-panel {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow-sm);
  /* backdrop-filter: blur(18px); */
  -webkit-backdrop-filter: blur(18px);
}

.page-heading {
  text-align: center;
}

.page-main {
  min-height: calc(100vh - var(--header-height) - 34px);
  min-width: 100%;
  padding-block: 32px;
}

.page-container {
  width: min(1600px, calc(100% - 10px));
  margin-inline: auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  color: var(--color-text-soft);
  font-size: 12px;
  display: flex;
}



/* =========================================
           Team card
========================================= */

.team-card {
  position: absolute;
  right: 1.4rem;
  bottom: 23%;
  z-index: 4;
  min-width: 340px;
  height: 75px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 17px;
  direction: ltr;
  border: 1px solid var(--border);
  border-radius: 19px;
  background:
    linear-gradient(130deg,
      rgba(255, 255, 255, .075),
      rgba(255, 255, 255, .025));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .34);
  backdrop-filter: blur(18px);
}

.avatars {
  display: flex;
  direction: ltr;
}

.avatars img {
  width: 36px;
  height: 36px;
  margin-left: -9px;
  object-fit: cover;
  border: 2px solid #282a2b;
  border-radius: 50%;
}

.avatars img:first-child {
  margin-left: 0;
}

.team-copy {
  direction: rtl;
  text-align: right;
}

.team-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.team-copy span {
  display: block;
  margin-top: 5px;
  color: #b9b7b1;
  font-size: 10px;
}

.team-plus {
  width: 31px;
  height: 31px;
  margin-left: auto;
  display: grid;
  place-items: center;
  color: var(--gold);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
}



.shell,
.site-footer,
.site-header {
  /* width: min(calc(100% - 2rem), var(--container)); */
  margin: 0 auto;
  width: 95%;
}


main {
  padding: 1.25rem 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

section.shell.hero {
  /* background-image: url(../../Images/cabinet.jpg); */
  /* background-size: cover; */
  border-radius: 2rem;
  width: 98%;
}

.shell {
  padding: 4rem 0 0;
}

.hero {
  /* display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center; */
  gap: 2rem;
  min-height: calc(100vh - 120px);
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  padding: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: xx-large;
  font-family: DimaYekanOutline;
  margin: 0;
  justify-content: center;
}

.logo.eyebrow {
  margin: 0;
  font-size: 4rem;
  height: 90px;
  align-items: self-end;
  font-family: PARADOX-Regular;
}

.hero h1,
.section-head h2 {
  margin: 0.4rem 0 0;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  max-width: 12ch;
}

.lead,
.section-card p,
.feature-card p,
.portfolio-card p,
.blog-card p,
.quote-card p,
.panel-card,
.auth-note li,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  background: linear-gradient(180deg, #141414de, #19181887);
  padding: 20px 30px;
  margin: 0.4rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(5px);
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.7rem;
}

.hero-visual {
  position: relative;
  min-height: 650px;
  /* overflow: hidden; */
  isolation: isolate;
}

.visual-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.9;
}

.visual-glow-1 {
  width: 220px;
  height: 220px;
  top: 20px;
  left: -30px;
  background: rgba(215, 179, 106, 0.26);
}

.visual-glow-2 {
  width: 260px;
  height: 260px;
  bottom: -40px;
  right: -40px;
  background: rgba(142, 211, 255, 0.18);
}

.visual-panel {
  position: relative;
  z-index: 1;
  margin: 1.2rem;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  /* backdrop-filter: blur(20px); */
  backdrop-filter: blur(20px)brightness(0.4);

}

.visual-panel h2 {
  margin: 0.85rem 0 0.45rem;
  font-size: 2rem;
}

.side-panel {
  position: absolute;
  top: 10px;
  right: 1.5rem;
  z-index: 5;
  width: 302px;
  padding: 20px 17px 18px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(26, 30, 33, .78), rgba(10, 13, 16, .72));
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(20px);
}

.style-option {
  width: 100%;
  min-height: 68px;
  padding: 8px 12px 8px 9px;
  display: grid;
  grid-template-columns: 1fr 31px;
  align-items: center;
  gap: 8px;
  text-align: right;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 16px;
  background: linear-gradient(105deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .018));
  transition: 0.25s ease;
  cursor: var(--cursor-pointer);
}

.style-option:hover {
  /* border-color: rgba(227, 183, 105, 0.26); */
  border: 1px 1px 0 0 solid;
  background:
    linear-gradient(105deg,
      rgba(220, 170, 86, .13),
      rgba(255, 255, 255, .025));
  transform: translateX(-3px);
  border-top-color: #ff000000;
  border-bottom-color: #ffffff00;
  border-right-color: #e3b7699c;
  border-left-color: #e3b7699c;
}


.style-option.active {
  border-color: rgba(227, 183, 105, 0.26);
  background:
    linear-gradient(105deg,
      rgba(220, 170, 86, .13),
      rgba(255, 255, 255, .025));
  transform: translateX(-3px);
}

.style-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.style-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}



.side-panel-title {
  margin: 0 6px 15px;
  color: #f0efeb;
  font-size: 13px;
  font-weight: 500;
}

.style-main img {
  width: 55px;
  height: 49px;
  flex: 0 0 55px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.style-text strong {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.style-text small {
  display: block;
  margin-top: 4px;
  color: #aeadab;
  font-size: 10px;
  font-weight: 300;
}

.style-arrow {
  color: var(--accent);
  font-size: 17px;
}

.mini-grid {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.mini-card,
.stat-card,
.feature-card,
.portfolio-card,
.material-card,
.process-step,
.quote-card,
.blog-card,
.section-card,
.auth-panel,
.auth-note,
.dashboard-sidebar,
.panel-card,
.contact-form,
.contact-card,
.cta-card,
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  /* backdrop-filter: blur(18px); */
  box-shadow: var(--shadow);
  padding: 5px 20px 10px 20px;
}

.service-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-title {
  color: var(--accent);
}



.card-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 24px;
  border: 1px solid rgba(229, 183, 104, 0.12);
  border-radius: 50%;
  text-shadow: 0 0 15px rgba(222, 172, 86, 0.45);
}

.mini-card {
  padding: 1rem;
  backdrop-filter: blur(20px)brightness(0.4);

}

/* .request-item span, */
.mini-card span,
.footer-note,
.favorites-list li {
  color: var(--muted);
  font-size: 0.92rem;
}

.mini-card strong,
.stat-card strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.2rem;
}

.section-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.grid-2,
.grid-3,
.grid-4,
.card-grid,
.dashboard-layout,
.auth-layout,
.contact-layout,
.process-line {
  display: grid;
  gap: 1rem;
}

.grid-2,
.auth-layout,
.dashboard-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-layout {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section-card,
.feature-card,
.portfolio-card,
.blog-card,
.quote-card,
.material-card,
.process-step,
.panel-card,
.contact-card,
.cta-card,
.auth-note {
  padding: 1.4rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.filter-btn,
.auth-tab,
.sidebar-link,
.btn {
  border: 0;
  cursor: var(--cursor-pointer);
  transition: 0.2s ease;
}

.filter-btn,
.auth-tab,
.sidebar-link {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active,
.auth-tab.active,
.sidebar-link.active,
.filter-btn:hover,
.auth-tab:hover,
.sidebar-link:hover {
  background: rgba(215, 179, 106, 0.18);
  color: var(--text);
}

.products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  position: relative;
  min-height: 250px;
  padding: 1.3rem;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 179, 106, 0.25), transparent 70%);
}

.product-meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.7rem;
  height: 100%;
  align-content: end;
}

.pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.favorite-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.45);
  cursor: var(--cursor-pointer);
}

.favorite-btn.active {
  color: var(--danger);
  border-color: rgba(255, 124, 124, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 124, 124, 0.08);
}

.material-card {
  min-height: 220px;
  display: grid;
  align-content: end;
}

.material-1 {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45)),
    linear-gradient(135deg, rgba(94, 60, 28, 0.9), rgba(31, 18, 10, 0.85));
}

.material-2 {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4)),
    linear-gradient(135deg, rgba(215, 179, 106, 0.9), rgba(104, 77, 31, 0.8));
}

.material-3 {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45)),
    linear-gradient(135deg, rgba(92, 99, 108, 0.92), rgba(39, 47, 55, 0.85));
}


.process-line {
  display: flex;
  gap: 20px;
  overflow-x: scroll;
  overflow-y: hidden;
  padding: 10px 0;
  cursor: var(--cursor-pointer);
  /* cursor: grab; */
  user-select: none;
}

.process-line:active {
  cursor: grabbing;
}

.process-step {
  min-width: 25%;
}

.process-step strong {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 1.3rem;
}

.process-item-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 30px 0;
}

.process.item-title {
  margin: 0;
}

.process-step li::marker {
  color: var(--accent);
}

.auth-section {
  width: 100%;
}

.auth-layout {
  display: flex;
  justify-content: space-between;
}

.auth-panel {
  padding: 1.2rem;
  width: 60%;
}

.auth-tabs {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.auth-form {
  display: none;
  gap: 1rem;
  animation: fadeIn 0.5s ease-out forwards;
}

.auth-form.active {
  display: grid;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.check-row input {
  width: 30px !important;
  height: 30px;
  padding: 0;
  align-self: center;
  transition: none;
}

.strength-wrap {
  display: grid;
  gap: 0.5rem;
}

.strength-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.strength-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--danger);
  transition: 0.2s ease;
}

.auth-note ul {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.auth-note {
  width: 30%;
  height: fit-content;
}

.dashboard-layout {
  align-items: start;
}

/* 
.dashboard-sidebar {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  position: sticky !important;
  top: 7.5rem;
} */

.sidebar-link {
  display: block;
  text-align: right;
}

.dashboard-content {
  display: grid;
  gap: 1rem;
}

.dashboard-panels {
  align-items: start;
}

.panel-card {
  display: grid;
  gap: 0.85rem;
  align-content: flex-start;
}

.panel-card h3 {
  color: var(--accent);
}

.favorites-list {
  display: grid;
  gap: 0.65rem;
}

.favorites-list li {
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: grid;
  gap: 1rem;
}

.map-placeholder {
  min-height: 180px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: var(--muted);
  background:
    radial-gradient(circle at center, rgba(142, 211, 255, 0.12), transparent 40%),
    rgba(255, 255, 255, 0.04);
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 2rem 0 2.5rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.copyright{
  justify-self: center;
}
.copyright strong {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.btn {
  padding: 0.6rem 1.3rem;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  background: #ffffff47;
}

.btn-primary {
  background: linear-gradient(135deg, #f4ddaa, var(--accent-gold));
  color: #0b1320;
  box-shadow: 0 10px 30px rgba(215, 179, 106, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(216, 170, 93, 0.5);
  background: linear-gradient(135deg, #cfa448, var(--accent));
}

.btn-circle {
  padding: 1rem !important;
}

.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.3rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.glass-card {
  position: relative;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.28;
}

.bg-orb-1 {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -80px;
  background: rgba(215, 179, 106, 0.45);
}

.bg-orb-2 {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 240px;
  background: rgba(142, 211, 255, 0.28);
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 100;
  min-width: 260px;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(8, 18, 28, 0.92);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* .toast.success {
  border-color: rgba(124, 255, 178, 0.35);
}

.toast.error {
  border-color: rgba(255, 124, 124, 0.35);
} */

.toast.success {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.toast.error {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.glass-card.portfolio-card {
  justify-items: center;
}

.placeholder-img {
  width: 300px;
  height: 250px;
  /* width: 100%;
  height: auto; */
  border-radius: 12px;
  margin-bottom: 0.8rem;
  display: block;
}

.phone-content {
  margin: 0;
}

.mapboxgl-popup-content {
  background: #6d48ff !important;
}

.align-content-center {
  align-content: center;

}

/* --- Payments Styles --- */


.payment-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.payment-ref {
  font-size: 0.85rem;
  color: var(--muted);
}

.payment-amount {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text);
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-primary {
  background: hsl(205deg 100% 74% / 15%);
  color: var(--primary);
  border: 1px solid hsl(205deg 100% 74% / 30%);
}

.status-success {
  background: rgba(124, 255, 178, 0.15);
  color: var(--success);
  border: 1px solid rgba(124, 255, 178, 0.3);
}

.status-info {
  background: rgb(245 251 255 / 15%);
  color: var(--color-text-soft);
  border: 1px solid rgb(210 204 193 / 30%);
}

.status-purple {
  background: hsl(308deg 100% 74.31% / 15%);
  color: var(--purple);
  border: 1px solid rgb(255 124 248 / 30%);
}

.status-warning {
  background: rgba(215, 179, 106, 0.15);
  color: var(--warning);
  border: 1px solid rgba(215, 179, 106, 0.3);
}

.status-danger {
  background: rgba(255, 124, 124, 0.15);
  color: var(--danger);
  border: 1px solid rgba(255, 124, 124, 0.3);
}


/* --- Profile Styles --- */
.profile-avatar-upload {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  cursor: var(--cursor-pointer);
  border: 2px dashed var(--border);
  transition: all 0.3s;
}

.profile-avatar-upload:hover {
  border-color: var(--accent);
  background: rgba(215, 179, 106, 0.1);
}

.profile-avatar-upload i {
  font-size: 2rem;
  color: var(--muted);
}

/* =========================================
           Animation Styles
========================================= */
/* کلاس پایه برای تمام المان‌هایی که می‌خواهیم انیمیشن داشته باشند */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* ترنزیشن نرم */
}

/* حالت اولیه: مخفی و کمی پایین‌تر یا چپ‌تر */
.animate-on-scroll.from-left {
  transform: translateX(-100px);
  /* از سمت چپ می‌آید */
}

/* حالت اولیه: مخفی و کمی بالاتر یا راست‌تر */
.animate-on-scroll.from-right {
  transform: translateX(100px);
  /* از سمت راست می‌آید */
}

/* حالت اولیه: مخفی و کمی پایین‌تر */
.animate-on-scroll.from-bottom {
  transform: translateY(60px);
}

/* حالت اولیه: مخفی و کمی بالاتر */
.animate-on-scroll.from-top {
  transform: translateY(-60px);
}

/* کلاسی که توسط جاوااسکریپت اضافه می‌شود تا المان نمایان شود */
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
  /* به حالت عادی برمی‌گردد */
}




.cta-card {
  /* padding-top: 28px; */
  border-radius: 28px;
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-cta-content {
  gap: 5px;
  display: flex;
  flex-direction: column;
}

.home-section-kicker {
  align-items: center;
  color: var(--accent);
  font-size: 20px;
  /* margin-bottom: 14px; */
}

.home-cta-content p {
  color: var(--muted);
  line-height: 2;
  font-size: 16px;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}



.faq-section {
  position: relative;
}

.faq-shell {
  /* max-width: 820px; */
  margin: 0 auto;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(215, 179, 106, 0.16);
  background: linear-gradient(145deg, rgba(18, 22, 25, 0.78), rgba(38, 41, 42, 0.42));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
  transition: all ease 0.5s;
  /* height: 60px; */
}

.faq-item.active {
  border-color: rgba(215, 179, 106, 0.34);
  background: rgba(215, 179, 106, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  /* height: 100px; */
}

.faq-question {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border: 0;
  outline: 0;
  color: #f7f1e8;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  text-align: right;
  cursor: var(--cursor-pointer);
}

.faq-question-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-icon,
.faq-toggle {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #d7b36a;
  border: 1px solid rgba(215, 179, 106, 0.2);
  background: radial-gradient(circle at 35% 20%, rgba(215, 179, 106, 0.22), rgba(255, 255, 255, 0.045));
}

.faq-toggle {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  font-size: 13px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: linear-gradient(135deg, #d7b36a, #a77a35);
  color: #161411;
}

.faq-answer {
  display: none;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  display: grid;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 64px 18px 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 2.1;
}


.turnstile-container {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* =========================================
           Responsive Styles
========================================= */

@media (max-width: 1100px) {
  .hero-copy {
    width: 50%;
  }

  .lg-nav {
    display: none;
  }

  .process-step {
    min-width: 40%;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 820px) {

  .grid-3, .grid-4, .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-image {
    top: -10%;
    height: 100%;
  }

  .hero-copy {
    margin: 0.4rem 0rem;
  }

  /* .logo.eyebrow {
    margin-bottom: 2rem;
  } */

  .btn {
    padding: 0.6rem 1.2rem;
  }

  article.stat-card.glass-card {
    text-align: center;
  }

  .side-panel {
    position: relative;
  }

  .team-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 1rem auto;
    width: 90%;
  }

  .shell {
    width: 95%;
    padding: 2rem 0;
  }

  .process-step {
    min-width: 40%;
  }
}

/* Small Mobile (Max Width: 560px) */
@media (max-width: 560px) {
  .grecaptcha-badge {
    visibility: hidden !important;
  }

  :root {
    --fs-h1: 2rem;
    --fs-h2: 1.6rem;
  }

  .shell {
    flex-wrap: wrap;
    flex-direction: column-reverse;
    align-items: center;
  }

  .hero-copy {
    padding: 1.5rem;
    width: 100%;
  }

  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .side-panel {
    width: 100%;
    right: unset;
  }

  .visual-glow-1 {
    left: 0;
  }

  .style-list {
    flex-wrap: balance;
    flex-direction: row;
    justify-content: center;
  }

  .style-option {
    width: 45%;
    display: flex;
    justify-content: center;
  }

  .style-main {
    flex-direction: column;
    align-items: center;
  }

  .style-text small {
    display: none;
  }

  .side-panel .style-arrow {
    display: none;
  }

  .process-step {
    min-width: 90%;
  }

  .cta-container {
    flex-direction: column;
  }

}