/* ═══════════════════════════════════════════════════
   SERVICE — BACKEND DEVELOPMENT (backend-development.html)
   استایل‌های اختصاصی این صفحه. پایه (کرسر، ناوبری،
   فوتر، reveal) از styles.css می‌آد؛ اینجا فقط هیرو،
   کارت‌های تعریف، ارزش‌ها، خروجی‌ها، فرآیند و CTA.
   هم‌خانواده‌ی service-uiux.css و service-frontend.css —
   کلاس‌های sv-* مشترک هستن. امضای بصری این صفحه: شماره‌گذاری
   به سبک hex (0x01) در لیست خروجی‌ها، یادآور لاگ/سیستم سمت سرور.
═══════════════════════════════════════════════════ */

body.service-page{ background:var(--cream); }

/* ── SV HERO ── */
.sv-hero{
  position:relative;
  padding:calc(68px + 8vh) 5vw 6vh;
  overflow:hidden;
  border-bottom:1px solid rgba(27,42,107,.08);
}
.sv-hero-noise{
  position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}
.sv-hero-noise::after{
  content:'';position:absolute;right:-15vw;top:-25vh;
  width:55vw;height:55vw;border-radius:50%;
  background:radial-gradient(circle,rgba(0,191,255,.09) 0%,rgba(27,42,107,.04) 45%,transparent 70%);
}
.sv-hero-inner{ position:relative;z-index:1; direction:ltr; }
html[lang="fa"] .sv-hero-inner{ direction:rtl; }

.sv-back{
  display:inline-flex;align-items:center;gap:9px;
  font-size:.75rem;font-weight:600;letter-spacing:.05em;
  color:rgba(27,42,107,.5);text-decoration:none;
  margin-bottom:36px;
  transition:color .2s,gap .2s;
}
.sv-back:hover{ color:var(--navy);gap:13px; }
.sv-back-arrow{
  display:flex;align-items:center;justify-content:center;
  width:26px;height:26px;border-radius:50%;
  border:1px solid rgba(27,42,107,.18);
  flex-shrink:0;transition:border-color .2s;
}
.sv-back:hover .sv-back-arrow{ border-color:var(--neon); }
html[lang="fa"] .sv-back-arrow svg{ transform:scaleX(-1); }

.sv-hero-label{
  display:flex;align-items:center;gap:10px;
  font-size:.72rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(27,42,107,.35);
  margin-bottom:20px;
}
.sv-hero-label::before{
  content:'';display:block;width:20px;height:1px;
  background:var(--neon);box-shadow:0 0 6px var(--neon);
}
html[lang="fa"] .sv-hero-label{ font-family:var(--font-fa-body); letter-spacing:0; }

.sv-hero-title{
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:clamp(2.4rem,8.5vw,6rem);
  line-height:.94;letter-spacing:-.04em;color:var(--navy);
  overflow:hidden;margin-bottom:24px;
  direction:ltr;
}
/* کلمه‌ی انگلیسی طولانی (Development/conversation و...) روی این
   صفحات معمولاً از خط اول بلندتره؛ چون هر دو خط از یک font-size
   مشترک ارث می‌برن، این سطر فقط برای neon-word یک سقف مجزا و
   محافظه‌کارانه‌تر تعریف می‌کنه تا کلمه‌ی بلند هیچ‌وقت از صفحه
   بیرون نزنه، بدون اینکه خط اول (کوتاه‌تر) رو کوچیک کنه. */
.sv-hero-title .neon-word{
  font-size:clamp(1.8rem,7vw,6rem);
}
.sv-hero-title .line{ display:block;overflow:hidden; }
.sv-hero-title .line span{
  display:block;transform:translateY(110%);
  animation:slideUp .9s cubic-bezier(.16,1,.3,1) forwards;
}
.sv-hero-title .line:nth-child(1) span{ animation-delay:.1s; }
.sv-hero-title .line:nth-child(2) span{ animation-delay:.22s; }

.sv-hero-desc{
  font-family:var(--font-fa-body);
  font-size:.95rem;font-weight:300;line-height:2;
  color:rgba(27,42,107,.55);
  max-width:520px;
  opacity:0;animation:fadeIn .8s .5s forwards;
}
html[lang="en"] .sv-hero-desc{ font-family:var(--font-body); line-height:1.8; }

.sv-hero-tags{
  display:flex;flex-wrap:wrap;gap:10px;
  margin-top:28px;
  opacity:0;animation:fadeIn .8s .65s forwards;
}
.sv-tag{
  font-family:var(--font-fa-body);
  font-size:.74rem;font-weight:500;
  color:rgba(27,42,107,.6);
  padding:8px 16px;border-radius:100px;
  background:rgba(27,42,107,.04);
  border:1px solid rgba(27,42,107,.12);
  transition:border-color .2s,color .2s;
}
.sv-tag:hover{ border-color:rgba(0,191,255,.45); color:var(--navy); }
html[lang="en"] .sv-tag{ font-family:var(--font-body); letter-spacing:.02em; }

/* ── SHARED SECTION HEAD ── */
.sv-head{ margin-bottom:32px; }
.sv-section-label{
  display:flex;align-items:center;gap:10px;
  font-size:.72rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(27,42,107,.35);
  margin-bottom:12px;
}
.sv-section-label::before{
  content:'';display:block;width:20px;height:1px;
  background:var(--neon);box-shadow:0 0 6px var(--neon);
}
html[lang="fa"] .sv-section-label{ font-family:var(--font-fa-body); letter-spacing:0; }
.sv-section-title{
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:clamp(1.4rem,3vw,2.1rem);
  line-height:1.25;letter-spacing:-.02em;
  color:var(--navy);
  max-width:620px;
}
html[lang="fa"] .sv-section-title{
  font-family:var(--font-fa-heading);letter-spacing:0;line-height:1.6;
}

/* ── SV WHAT — Logic / Data ──
   دو کارت به‌شکل پنل‌های ترمینال دراومدن: هر کارت یه نوار بالایی
   داره با سه دات رنگی (شبیه header ترمینال macOS)، فونت مونو،
   و بک‌گراند تیره‌تر که حس یه محیط system-level رو منتقل می‌کنه —
   دقیقاً همون فضایی که برای «منطق» و «داده» در بک‌اند معناداره. */
.sv-what{ padding:64px 5vw 20px; }
.sv-what-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:20px;
  position:relative;
}
.sv-what-card{
  position:relative;overflow:hidden;
  padding:0 0 32px;
  border-radius:14px;
  background:linear-gradient(180deg,#0f1a3f 0%,#111a45 100%);
  border:1px solid rgba(0,191,255,.18);
  transition:border-color .25s,transform .3s cubic-bezier(.16,1,.3,1);
}
.sv-what-card:hover{
  border-color:rgba(0,191,255,.5);
  transform:translateY(-3px);
}
.sv-what-card::before{
  content:'';display:block;
  height:38px;
  background:rgba(255,255,255,.03);
  border-bottom:1px solid rgba(0,191,255,.14);
  background-image:radial-gradient(circle,rgba(255,90,90,.65) 3.5px,transparent 3.5px),
                    radial-gradient(circle,rgba(255,196,64,.65) 3.5px,transparent 3.5px),
                    radial-gradient(circle,rgba(60,220,140,.65) 3.5px,transparent 3.5px);
  background-repeat:no-repeat;
  background-position:18px center,34px center,50px center;
}
html[lang="fa"] .sv-what-card::before{
  background-position:calc(100% - 18px) center,calc(100% - 34px) center,calc(100% - 50px) center;
}
.sv-what-card-body{ padding:26px 32px 0; }
/* اگر HTML بدون wrapper .sv-what-card-body باشه، این قانون فرزندان
   مستقیم رو خودش پدینگ می‌ده — کد بدون نیاز به تغییر HTML کار می‌کنه */
.sv-what-card > .sv-what-tag,
.sv-what-card > .sv-what-name,
.sv-what-card > .sv-what-desc{ margin-inline:32px; }
.sv-what-card > .sv-what-tag{ margin-top:26px; }
.sv-what-card > .sv-what-desc{ margin-bottom:0; }
.sv-what-card-body > .sv-what-tag,
.sv-what-card-body > .sv-what-name,
.sv-what-card-body > .sv-what-desc{ margin-inline:0; }
.sv-what-card-body > .sv-what-tag{ margin-top:0; }
.sv-what-tag{
  display:inline-flex;align-items:center;
  font-family:'Space Grotesk',monospace;font-weight:700;
  font-size:.7rem;letter-spacing:.1em;
  color:var(--neon);
  padding:5px 12px;border-radius:6px;
  background:rgba(0,191,255,.1);
  border:1px solid rgba(0,191,255,.3);
  direction:ltr;
}
.sv-what-tag::before{ content:'$ '; opacity:.6; }
.sv-what-name{
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:1.15rem;letter-spacing:-.01em;
  color:var(--cream);
  margin:18px 0 10px;
}
html[lang="fa"] .sv-what-name{ font-family:var(--font-fa-heading);letter-spacing:0; }
.sv-what-desc{
  font-family:var(--font-fa-body);
  font-size:.88rem;font-weight:300;line-height:2;
  color:rgba(240,234,214,.5);
}
html[lang="en"] .sv-what-desc{ font-family:var(--font-body); line-height:1.8; }

/* ── SV VALUE ──
   گرید کارتی معمولی به یه ردیف افقی به‌سبک «رجیستر حافظه» تبدیل
   شده: هر آیتم یه آدرس hex بالای خودش داره، خطی نازک همه‌شون رو
   به‌هم وصل می‌کنه (مثل باس آدرس)، و شماره‌ها با فاصله‌ی ثابت
   پیش می‌رن — استعاره‌ی بصری از آدرس‌دهی پیوسته‌ی حافظه. */
.sv-value{ padding:64px 5vw 20px; }
.sv-value-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:0;
  position:relative;
  border-top:1px solid rgba(27,42,107,.16);
  border-bottom:1px solid rgba(27,42,107,.16);
}
.sv-value-grid::before{
  content:'';position:absolute;top:-1px;left:0;right:0;height:2px;
  background:linear-gradient(90deg,transparent,var(--neon) 15%,var(--neon) 85%,transparent);
  opacity:.5;
}
.sv-value-item{
  display:flex;flex-direction:column;
  padding:26px 22px 24px;
  border-inline-start:1px solid rgba(27,42,107,.16);
  transition:background .25s;
}
.sv-value-grid .sv-value-item:first-child{ border-inline-start:none; }
.sv-value-item:hover{ background:rgba(0,191,255,.05); }
.sv-value-num{
  display:inline-block;
  font-family:'Space Grotesk',monospace;font-weight:700;font-size:.7rem;
  color:var(--neon);letter-spacing:.02em;
  padding:3px 9px;border-radius:4px;
  background:rgba(0,191,255,.09);
  border:1px solid rgba(0,191,255,.25);
  direction:ltr;
}
.sv-value-num::before{ content:'0x'; opacity:.55; }
.sv-value-name{
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:1rem;letter-spacing:-.01em;
  color:var(--navy);
  margin:16px 0 8px;
}
html[lang="fa"] .sv-value-name{ font-family:var(--font-fa-heading);letter-spacing:0; }
.sv-value-desc{
  font-family:var(--font-fa-body);
  font-size:.84rem;font-weight:300;line-height:1.95;
  color:rgba(27,42,107,.55);
}
html[lang="en"] .sv-value-desc{ font-family:var(--font-body); line-height:1.75; }

/* ── SV INCLUDES ──
   امضای این صفحه: به‌جای دایره‌ی تیک ساده یا شماره‌ی دسیمال،
   شمارنده به سبک hex (0x01، 0x02...) — یادآور لاگ‌های سیستم
   و آدرس‌دهی حافظه، متناسب با موضوع بک‌اند. */
.sv-includes{ padding:64px 5vw 20px; }
.sv-inc-list{
  list-style:none;
  display:grid;grid-template-columns:1fr 1fr;
  gap:2px;
  border-radius:20px;overflow:hidden;
  background:rgba(27,42,107,.1);
  border:1px solid rgba(27,42,107,.1);
  counter-reset:sv-inc;
}
.sv-inc-item{
  display:flex;align-items:flex-start;gap:14px;
  padding:26px 28px;
  background:var(--cream);
  transition:background .25s;
  counter-increment:sv-inc;
}
.sv-inc-item:hover{ background:rgba(0,191,255,.05); }
.sv-inc-check{
  position:relative;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  min-width:44px;height:20px;
  margin-top:2px;
  border-radius:100px;
  border:1px solid rgba(0,191,255,.45);
  background:rgba(0,191,255,.08);
}
.sv-inc-check::after{
  content:'0x' counter(sv-inc,decimal-leading-zero);
  font-family:'Space Grotesk',monospace;
  font-size:.62rem;font-weight:700;letter-spacing:.02em;
  color:var(--neon);
  direction:ltr;
}
.sv-inc-text{ display:flex;flex-direction:column;gap:6px; }
.sv-inc-text strong{
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:.95rem;letter-spacing:-.01em;
  color:var(--navy);
}
html[lang="fa"] .sv-inc-text strong{ font-family:var(--font-fa-heading);letter-spacing:0; }
.sv-inc-text span{
  font-family:var(--font-fa-body);
  font-size:.84rem;font-weight:300;line-height:1.95;
  color:rgba(27,42,107,.55);
}
html[lang="en"] .sv-inc-text span{ font-family:var(--font-body); line-height:1.75; }

/* ── SV PROCESS ── */
.sv-process{ padding:64px 5vw 72px; }
.sv-proc-list{
  list-style:none;
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.sv-proc-step{
  position:relative;
  padding-top:22px;
  border-top:1px solid rgba(27,42,107,.14);
  transition:border-color .25s;
}
.sv-proc-step::before{
  content:'';position:absolute;top:-1px;inset-inline-start:0;
  width:0;height:1px;
  background:var(--neon);box-shadow:0 0 6px var(--neon);
  transition:width .4s cubic-bezier(.16,1,.3,1);
}
.sv-proc-step:hover::before{ width:100%; }
.sv-proc-num{
  font-family:'Space Grotesk',monospace;font-weight:700;font-size:.74rem;
  color:var(--neon);letter-spacing:.04em;
  direction:ltr;
}
.sv-proc-name{
  font-family:'Syne',sans-serif;font-weight:800;
  font-size:1.05rem;letter-spacing:-.01em;
  color:var(--navy);
  margin:12px 0 8px;
}
html[lang="fa"] .sv-proc-name{ font-family:var(--font-fa-heading);letter-spacing:0; }
.sv-proc-desc{
  font-family:var(--font-fa-body);
  font-size:.84rem;font-weight:300;line-height:1.95;
  color:rgba(27,42,107,.55);
}
html[lang="en"] .sv-proc-desc{ font-family:var(--font-body); line-height:1.75; }

/* ═══════════════════════════════
   SERVICE PAGES — FINAL CTA (shared)
═══════════════════════════════ */
.sv-final-cta{
  position:relative;
  display:grid;
  grid-template-columns:minmax(130px,.35fr) minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(28px,5vw,72px);
  margin:0 5vw 100px;
  padding:clamp(34px,5vw,64px);
  overflow:hidden;
  border:1px solid rgba(27,42,107,.12);
  border-radius:24px;
  background:
    radial-gradient(circle at 92% 8%,rgba(0,191,255,.13),transparent 34%),
    rgba(255,255,255,.24);
}
.sv-final-cta::after{
  content:'';position:absolute;right:-90px;bottom:-140px;
  width:300px;height:300px;
  border:1px solid rgba(0,191,255,.16);border-radius:50%;
  pointer-events:none;
}
.sv-final-cta-index{
  position:relative;z-index:1;display:flex;flex-direction:column;gap:12px;
  font-family:'Syne',sans-serif;font-size:.68rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;color:rgba(27,42,107,.38);
}
.sv-final-cta-index > span:first-child{
  font-size:clamp(2rem,4vw,3.8rem);line-height:1;letter-spacing:-.05em;color:var(--navy);
}
.sv-final-cta-index-line{
  width:64px;height:1px;background:var(--neon);box-shadow:0 0 8px rgba(0,191,255,.55);
}
.sv-final-cta-content{ position:relative;z-index:1;max-width:660px; }
.sv-final-cta-title{
  margin-bottom:14px;font-family:'Syne',sans-serif;
  font-size:clamp(1.8rem,4vw,3.2rem);font-weight:800;line-height:1.08;
  letter-spacing:-.03em;color:var(--navy);
}
.sv-final-cta-copy{
  max-width:540px;font-family:var(--font-body);
  font-size:.92rem;font-weight:300;line-height:1.85;color:rgba(27,42,107,.58);
}
.sv-final-cta-link{
  position:relative;z-index:1;display:inline-flex;align-items:center;gap:18px;
  padding:10px 10px 10px 22px;border:1px solid rgba(27,42,107,.18);
  border-radius:100px;color:var(--navy);font-size:.8rem;font-weight:700;
  text-decoration:none;white-space:nowrap;
  transition:background .25s,border-color .25s,transform .25s;
}
.sv-final-cta-arrow{
  display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;
  background:var(--navy);color:var(--cream);
  transition:background .25s,transform .3s;
}
.sv-final-cta-link:hover{ border-color:var(--neon);background:rgba(0,191,255,.06);transform:translateY(-2px); }
.sv-final-cta-link:hover .sv-final-cta-arrow{ background:var(--neon);color:var(--navy);transform:rotate(-45deg); }

html[lang="fa"] .sv-final-cta-index,
html[lang="fa"] .sv-final-cta-copy,
html[lang="fa"] .sv-final-cta-link{ font-family:var(--font-fa-body);letter-spacing:0; }
html[lang="fa"] .sv-final-cta-title{ font-family:var(--font-fa-heading);letter-spacing:0;line-height:1.35; }
html[lang="fa"] .sv-final-cta-link{ padding:10px 22px 10px 10px; }
html[lang="fa"] .sv-final-cta-arrow svg{ transform:scaleX(-1); }
html[lang="fa"] .sv-final-cta-link:hover .sv-final-cta-arrow{ transform:rotate(45deg); }

@media(max-width:1000px){
  .sv-final-cta{ grid-template-columns:110px minmax(0,1fr); }
  .sv-final-cta-link{ grid-column:2;justify-self:start; }
}
@media(max-width:600px){
  .sv-final-cta{
    grid-template-columns:1fr;gap:28px;
    margin:0 6vw 72px;padding:30px 24px;border-radius:18px;
  }
  .sv-final-cta-index{ flex-direction:row;align-items:center; }
  .sv-final-cta-index > span:first-child{ font-size:1.8rem; }
  .sv-final-cta-index-line{ width:36px; }
  .sv-final-cta-title{ font-size:2rem; }
  .sv-final-cta-link{ grid-column:auto;width:100%;justify-content:space-between; }
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media(max-width:1000px){
  .sv-value-grid{ grid-template-columns:1fr 1fr; }
  .sv-value-grid .sv-value-item:nth-child(2){ border-inline-start:1px solid rgba(27,42,107,.16); }
  .sv-value-grid .sv-value-item:nth-child(3){ border-inline-start:none; border-top:1px solid rgba(27,42,107,.16); }
  .sv-proc-list{ grid-template-columns:1fr 1fr; }
}

@media(max-width:900px){
  .sv-cta{ grid-template-columns:1fr;gap:26px; }
  .sv-cta-button{ align-self:flex-start; }
}

@media(max-width:760px){
  .sv-what-grid{ grid-template-columns:1fr; }
  .sv-inc-list{ grid-template-columns:1fr; }
}

@media(max-width:600px){
  .sv-hero{ padding:calc(60px + 6vh) 6vw 5vh; }
  .sv-hero-desc{ max-width:100%; }
  .sv-what,
  .sv-value,
  .sv-includes{ padding:44px 6vw 8px; }
  .sv-process{ padding:44px 6vw 56px; }
  .sv-what-card{ border-radius:12px; }
  .sv-what-card::before{ height:34px; }
  .sv-what-card > .sv-what-tag,
  .sv-what-card > .sv-what-name,
  .sv-what-card > .sv-what-desc,
  .sv-what-card-body{ margin-inline:6vw;padding-inline:0; }
  .sv-what-card-body{ padding-top:22px; }
  .sv-value-grid{ grid-template-columns:1fr; }
  .sv-value-grid .sv-value-item{ border-inline-start:none !important;border-top:1px solid rgba(27,42,107,.16); }
  .sv-value-grid .sv-value-item:first-child{ border-top:none; }
  .sv-value-item{ padding:20px 6vw; }
  .sv-inc-item{ padding:22px 6vw; }
  .sv-proc-list{ grid-template-columns:1fr;gap:24px; }
  .sv-cta{ padding:38px 6vw; }
  .sv-cta-sub{ display:none; }
  .sv-cta-button{ width:100%;justify-content:center;padding:14px 22px; }
  html[lang="fa"] .sv-cta-button{ padding:14px 22px; }
}

@media(max-width:380px){
  .sv-tag{ font-size:.7rem;padding:7px 13px; }
}