/* =========================================================
   pro.css — لایه‌ی تقویت طراحی (بعد از glass.css بارگذاری می‌شود)
   تایپوگرافی قوی‌تر، سلسله‌مراتب بصری، لبه‌های گرادیانی،
   هاله‌ی نور پشت بخش‌ها و جزئیات تعاملی. فقط CSS است.
   ========================================================= */

:root {
  --pro-edge: linear-gradient(140deg, rgba(var(--accent-rgb, 243, 60, 192), .55), rgba(255, 255, 255, .08) 38%, rgba(255, 255, 255, .03) 62%, rgba(var(--accent2-rgb, 121, 80, 255), .5));
  --pro-ease: cubic-bezier(.22, .8, .24, 1);
}

::selection { background: rgba(var(--accent-rgb, 243, 60, 192), .45); color: #fff; }
html { scrollbar-color: rgba(var(--accent-rgb, 243, 60, 192), .45) transparent; scrollbar-width: thin; }
:focus-visible { outline: 2px solid rgba(var(--accent2-rgb, 121, 80, 255), .95); outline-offset: 3px; }

/* ---------- تایپوگرافی ---------- */
.hero-title { font-weight: 800; letter-spacing: -.015em; line-height: 1.35; font-size: clamp(2rem, 5.6vw, 3.9rem); text-wrap: balance; }
.hero-title .line-2 { font-weight: 800; }
.section-title { font-weight: 800; font-size: clamp(1.7rem, 3.8vw, 2.5rem); letter-spacing: -.01em; }
.section-sub { max-width: 54ch; margin-inline: auto; line-height: 2; color: var(--text-muted, rgba(202, 198, 221, .78)); }
.section-head { position: relative; }
.section-head::after {
  content: ""; display: block; width: 54px; height: 3px; margin: 1.1rem auto 0; border-radius: 3px;
  background: linear-gradient(90deg, rgb(var(--accent-rgb, 243, 60, 192)), rgb(var(--accent2-rgb, 121, 80, 255)));
  box-shadow: 0 0 18px rgba(var(--accent-rgb, 243, 60, 192), .7);
}

/* ---------- هاله‌ی نور پشت هر بخش ---------- */
.section, .about { position: relative; isolation: isolate; }
.section::before {
  content: ""; position: absolute; z-index: -1; inset: 8% 0 auto; height: 70%; pointer-events: none;
  background:
    radial-gradient(40% 60% at 15% 30%, rgba(var(--accent2-rgb, 121, 80, 255), .13), transparent 70%),
    radial-gradient(38% 55% at 88% 60%, rgba(var(--accent-rgb, 243, 60, 192), .10), transparent 70%);
}
.section:nth-of-type(even)::before {
  background:
    radial-gradient(40% 60% at 85% 30%, rgba(var(--accent2-rgb, 121, 80, 255), .13), transparent 70%),
    radial-gradient(38% 55% at 12% 60%, rgba(var(--accent-rgb, 243, 60, 192), .10), transparent 70%);
}

/* ---------- نوار اعتماد زیر هیرو ---------- */
.trust { position: relative; z-index: 2; margin-top: clamp(1.4rem, 3vw, 2.4rem); }
.trust-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; max-width: 980px; margin-inline: auto;
  border-radius: var(--r-lg, 18px); overflow: hidden;
  background: var(--g-fill, rgba(255, 255, 255, .05)); background-color: rgba(14, 12, 24, .42);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .28), 0 24px 50px -30px rgba(0, 0, 0, .8);
}
.trust-item { display: flex; align-items: center; gap: .6rem; padding: .85rem .8rem; position: relative; transition: background .3s; }
.trust-item + .trust-item::before { content: ""; position: absolute; inset-block: 22% 22%; inset-inline-start: 0; width: 1px; background: linear-gradient(transparent, rgba(255, 255, 255, .18), transparent); }
.trust-item:hover { background: rgba(255, 255, 255, .045); }
.trust-ico {
  flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, rgba(var(--accent-rgb, 243, 60, 192), .85), rgba(var(--accent2-rgb, 121, 80, 255), .85));
  box-shadow: 0 10px 22px -10px rgba(var(--accent-rgb, 243, 60, 192), .9), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.trust-item:hover .trust-ico { transform: rotate(-8deg) scale(1.1); }
.trust-ico svg { width: 21px; height: 21px; }
.trust-item strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--text-strong, #fff); line-height: 1.5; }
.trust-item small { display: none; font-size: 12.5px; color: rgba(202, 198, 221, .72); line-height: 1.6; }

/* ---------- کارت‌ها: لبه‌ی گرادیانی + درخشش هنگام هاور ---------- */
.step-inner, .feature, .pcard, .faq-item, .about-card, .chip {
  position: relative;
}
.step-inner::before, .feature::before, .pcard::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: var(--pro-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .55; transition: opacity .4s;
}
.step-inner:hover::before, .feature:hover::before, .pcard:hover::before { opacity: 1; }
.step-num {
  font-weight: 800; font-size: 2.1rem; line-height: 1; letter-spacing: -.02em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .06));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.step:hover .step-num { background: linear-gradient(180deg, #fff, rgba(var(--accent-rgb, 243, 60, 192), .55)); -webkit-background-clip: text; background-clip: text; }
.feature:hover { transform: translateY(-3px); }

/* ---------- دکمه‌ها ---------- */
.btn { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s var(--pro-ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: .08s; }
.btn-lg { min-height: 52px; }

/* ---------- هدر و فوتر ---------- */
.footer-links a { position: relative; transition: color .25s; }
.footer-links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 2px; border-radius: 2px; transform: scaleX(0);
  background: linear-gradient(90deg, rgb(var(--accent-rgb, 243, 60, 192)), rgb(var(--accent2-rgb, 121, 80, 255)));
  transition: transform .35s var(--pro-ease); transform-origin: center;
}
.footer-links a:hover::after { transform: scaleX(1); }

/* ---------- ورودی‌ها ---------- */
input:not([type="checkbox"]):not([type="radio"]), select, textarea { transition: border-color .25s, box-shadow .3s, background .25s; }
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus {
  border-color: rgba(var(--accent2-rgb, 121, 80, 255), .9);
  box-shadow: 0 0 0 4px rgba(var(--accent2-rgb, 121, 80, 255), .22), 0 10px 28px -14px rgba(var(--accent2-rgb, 121, 80, 255), .9);
}

/* ---------- واکنش‌گرا ---------- */
.trust-item:nth-child(3)::before { display: none; }
.trust-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 480px) {
  .trust-item { gap: .8rem; padding: 1.05rem 1.2rem; }
  .trust-ico { width: 42px; height: 42px; border-radius: 13px; }
  .trust-item small { display: block; }
}
@media (min-width: 768px) {
  .trust-row { grid-template-columns: repeat(4, 1fr); }
  .trust-item:nth-child(3)::before { display: block; }
  .trust-item:nth-child(n+3) { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .btn-primary::after, .trust-ico, .footer-links a::after { transition: none; } }

/* =========================================================
   درباره ما: تاکید قرمز روی 404TEAM + هاله‌ی نرم بدون لبه‌ی بریده
   ========================================================= */
.about { --red: 255, 59, 78; }
.about::before {
  /* به‌جای تصویر، گرادیان شعاعی که قبل از لبه‌ها کاملاً محو می‌شود (هیچ برشی دیده نمی‌شود) */
  inset: 0 !important; left: 0 !important; top: 0 !important; width: auto !important; height: auto !important; max-width: none !important; transform: none !important;
  background:
    radial-gradient(34% 46% at 50% 38%, rgba(var(--red), .30), transparent 100%),
    radial-gradient(52% 62% at 50% 50%, rgba(var(--accent2-rgb, 121, 80, 255), .16), transparent 100%) !important;
  opacity: 1 !important; pointer-events: none;
}
.about-tagline .brand-grad {
  font-size: 1.35em; font-weight: 800; letter-spacing: .04em; position: relative;
  background-image: linear-gradient(90deg, #fff 0%, #ff5a6a 30%, #c51628 50%, #ff5a6a 70%, #fff 100%);
  background-size: 260% 100%; animation: shimmer-text 5s linear infinite, redGlow 2.8s ease-in-out infinite;
}
.about-tagline .brand-grad::after {
  content: ""; position: absolute; inset-inline: 8%; bottom: -.12em; height: 3px; border-radius: 3px; transform-origin: center;
  background: linear-gradient(90deg, transparent, rgb(var(--red)), transparent); animation: redLine 2.8s ease-in-out infinite;
}
.red-hl { color: #ff4d5e; text-shadow: 0 0 22px rgba(var(--red), .55); animation: redText 2.8s ease-in-out infinite; }
.about-points li { border-color: rgba(var(--red), .28); }
.about-points li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-end: 8px; border-radius: 50%; background: rgb(var(--red)); box-shadow: 0 0 10px rgb(var(--red)); animation: redDot 2.8s ease-in-out infinite; vertical-align: middle; }
.about-points li:hover { border-color: rgba(var(--red), .75); box-shadow: 0 12px 26px -14px rgba(var(--red), .9); }
@keyframes redGlow { 0%, 100% { filter: drop-shadow(0 0 6px rgba(var(--red), .35)); } 50% { filter: drop-shadow(0 0 20px rgba(var(--red), .85)); } }
@keyframes redLine { 0%, 100% { opacity: .35; transform: scaleX(.55); } 50% { opacity: 1; transform: scaleX(1); } }
@keyframes redText { 0%, 100% { text-shadow: 0 0 10px rgba(var(--red), .25); } 50% { text-shadow: 0 0 26px rgba(var(--red), .75); } }
@keyframes redDot { 0%, 100% { transform: scale(.8); opacity: .6; } 50% { transform: scale(1.35); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .about-tagline .brand-grad, .about-tagline .brand-grad::after, .red-hl, .about-points li::before { animation: none; } }

.section::before { -webkit-mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); }

/* =========================================================
   لیبل بخش‌ها: بزرگ‌تر، خواناتر، با نقطه‌ی قرمز ضربان‌دار «درباره ما»
   ========================================================= */
.label {
  gap: .55rem; min-height: 34px; padding: 6px 18px 6px 16px; font-size: 14px; font-weight: 700; letter-spacing: .01em;
  border-radius: 999px; box-shadow: 0 10px 26px -12px rgba(var(--accent-rgb, 243, 60, 192), .95), inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 0 1px rgba(255, 255, 255, .12);
}
.label::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 10px #ff4d5e;
  animation: redDot 2.8s ease-in-out infinite;
}
.section-head .label, .about > .container > .label { animation: label-shift 7s linear infinite, labelGlow 2.8s ease-in-out infinite; }
@keyframes labelGlow { 0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 59, 78, .25)); } 50% { filter: drop-shadow(0 0 14px rgba(255, 59, 78, .65)); } }
.hero .label { font-size: 14.5px; min-height: 36px; }
@media (min-width: 480px) { .label { font-size: 15px; min-height: 38px; padding: 6px 20px 6px 18px; } }
@media (prefers-reduced-motion: reduce) { .label::before, .section-head .label, .about > .container > .label { animation: none; } }

/* =========================================================
   یک‌دست‌سازی: پس‌زمینه‌ی بخش‌ها یکپارچه و پیوسته (بدون هاله‌ی محدود به هر بخش)
   + لیبل‌ها بدون قرمز، با نقطه‌ی سفید نرم
   ========================================================= */
.section::before { content: none !important; display: none !important; }
.about::before { content: none !important; display: none !important; }
.section, .about { isolation: auto; }
.label::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .22), 0 0 10px rgba(255, 255, 255, .8); animation: labelDot 2.8s ease-in-out infinite; }
.section-head .label, .about > .container > .label { animation: label-shift 7s linear infinite, labelGlow 2.8s ease-in-out infinite; }
@keyframes labelGlow { 0%, 100% { filter: drop-shadow(0 0 3px rgba(var(--accent2-rgb, 121, 80, 255), .25)); } 50% { filter: drop-shadow(0 0 12px rgba(var(--accent2-rgb, 121, 80, 255), .6)); } }
@keyframes labelDot { 0%, 100% { transform: scale(.8); opacity: .7; } 50% { transform: scale(1.2); opacity: 1; } }
