/* ==================================================
    parsa.css — xRay Studio (آبی کامل)
    ================================================== */

:root {
  --bg: #0A0A0A;
  --brand: #00BFFF;
  --brand-light: #33CCFF;
  --brand-dark: #0A6EFF;
  --brand-glow: rgba(0, 191, 255, 0.15);
  --glass: rgba(255,255,255,.05);
  --glass-strong: rgba(255,255,255,.08);
  --text-soft: rgba(240, 244, 248, .72);
  --text-faint: rgba(240, 244, 248, .45);
  --ff-fa: 'Vazirmatn', sans-serif;
  --ff-en: 'Playfair Display', serif;
  --ease-lux: cubic-bezier(.16,.84,.32,1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: #F0F4F8;
  font-family: var(--ff-fa);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: none;
}

::selection {
  background: var(--brand);
  color: #0A0A0A;
}

@media (max-width: 900px) {
  body {
    cursor: auto;
  }
}

/* ---------- utility ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .15em;
  color: var(--brand);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
  padding-inline-start: 34px;
}

.section-eyebrow::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--brand);
  transform: translateY(-50%);
}

.section-eyebrow.center {
  padding-inline-start: 0;
}

.section-eyebrow.center::before {
  display: none;
}

.section-title {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 22px;
  color: #F0F4F8;
}

.section-title span {
  color: var(--brand);
  font-style: italic;
}

.section-title.center {
  text-align: center;
}

.section-desc {
  color: var(--text-soft);
  font-size: 1.02rem;
  max-width: 520px;
  line-height: 1.9;
}

/* ---------- cursor ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  transition: opacity .2s;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 191, 255, .5);
  transition: width .3s var(--ease-lux), height .3s var(--ease-lux), border-color .3s;
}

.cursor-ring.hovering {
  width: 64px;
  height: 64px;
  background: rgba(0, 191, 255, .08);
  border-color: var(--brand);
}

@media (max-width: 900px) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ==================================================
   INTRO
   ================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#introCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-logo-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
}

.intro-logo {
  width: min(560px, 82vw);
  overflow: visible;
}

.intro-logo-text {
  font-family: var(--ff-en);
  font-size: 56px;
  letter-spacing: 6px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.1;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
}

.intro-sub {
  font-family: var(--ff-fa);
  color: var(--text-faint);
  letter-spacing: .25em;
  font-size: .85rem;
  margin-top: 18px;
  opacity: 0;
}

/* ==================================================
   NAV
   ================================================== */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 500;
  padding: 18px 0;
  transition: background .4s var(--ease-lux), padding .4s var(--ease-lux), border-color .4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  border-color: rgba(0, 191, 255, .12);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  border-radius: 8px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  font-size: .92rem;
  color: rgba(240, 244, 248, .7);
  position: relative;
  transition: color .3s;
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width .35s var(--ease-lux);
}

.nav-links a:hover {
  color: #F0F4F8;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--brand);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: 10px 26px;
  font-size: .86rem;
  border-radius: 6px;
  letter-spacing: .03em;
  transition: background .35s var(--ease-lux), color .35s;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--brand);
  color: #0A0A0A;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-burger span {
  height: 2px;
  width: 100%;
  background: #F0F4F8;
  border-radius: 2px;
  transition: all .3s;
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .nav-inner {
    padding: 0 20px;
  }
  .nav-logo-img {
    height: 32px;
  }
}

.mobile-menu {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 480;
  background: rgba(10, 10, 10, .98);
  backdrop-filter: blur(20px);
  height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: height .5s var(--ease-lux);
}

.mobile-menu.open {
  height: 100vh;
}

.mobile-menu a {
  font-size: 1.4rem;
  color: #F0F4F8;
  text-decoration: none;
  transition: color .3s;
}

.mobile-menu a:hover {
  color: var(--brand);
}

/* ==================================================
   HERO
   ================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

#fluidCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(1.15);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, #0A0A0A 78%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.hero-eyebrow {
  color: var(--brand);
  letter-spacing: .3em;
  font-size: .78rem;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--ff-en);
  font-size: clamp(3.2rem, 10vw, 8.5rem);
  font-weight: 600;
  color: #F0F4F8;
  letter-spacing: .01em;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-title .char {
  display: inline-block;
  will-change: transform;
}

.hero-slogan {
  margin-top: 26px;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--text-soft);
  font-weight: 300;
}

.hero-actions {
  margin-top: 46px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #0A0A0A;
  padding: 15px 38px;
  font-size: .95rem;
  font-weight: 600;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-lux), box-shadow .4s var(--ease-lux);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -12px rgba(0, 191, 255, .55);
}

.btn-gold.full {
  width: 100%;
}

.btn-ghost {
  padding: 15px 38px;
  font-size: .95rem;
  border: 1px solid rgba(240, 244, 248, .25);
  color: #F0F4F8;
  border-radius: 6px;
  transition: border-color .35s, background .35s;
}

.btn-ghost:hover {
  border-color: var(--brand);
  background: rgba(0, 191, 255, .06);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero-scroll-hint span {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--brand), transparent);
  position: relative;
  overflow: hidden;
}

.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: -44px;
  left: 0;
  width: 100%;
  height: 44px;
  background: linear-gradient(#F0F4F8, transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    top: -44px;
  }
  100% {
    top: 44px;
  }
}

.hero-scroll-hint p {
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--text-faint);
}

/* ==================================================
   WORK SECTIONS — BIG BLUE TV
   ================================================== */
.work-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  overflow: hidden;
  padding: 120px 60px;
}

.work-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 65% 50%, rgba(0, 191, 255, 0.16), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(10, 110, 255, 0.30), transparent 60%);
  pointer-events: none;
}

.work-text {
  position: relative;
  z-index: 2;
  max-width: 380px;
  flex-shrink: 0;
  text-align: right;
}

.work-text .section-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-bottom: 20px;
}

.work-text .section-desc {
  max-width: 100%;
}

/* ============================================
   TELEVISION FRAME — BIG & BLUE
   ============================================ */
.work-monitor-frame {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 2000px;
  min-width: 0;
}

.tv-frame {
  position: relative;
  transform: rotateY(-3deg) rotateX(1deg);
  transition: transform 0.8s var(--ease-lux);
  transform-style: preserve-3d;
  width: 100%;
  max-width: 1200px;
}

.tv-body {
  position: relative;
  padding: 26px 26px 36px;
  border-radius: 26px;
  background: linear-gradient(160deg,
    #1EBFFF 0%,
    #0A9EFF 35%,
    #0A6EFF 70%,
    #0955C9 100%
  );
  box-shadow:
    0 0 0 2px rgba(51, 204, 255, 0.55),
    0 0 60px rgba(0, 191, 255, 0.45),
    0 0 140px rgba(0, 191, 255, 0.22),
    0 50px 100px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 8px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.6s var(--ease-lux);
}

.tv-body::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 40px;
  background: radial-gradient(ellipse at center,
    rgba(51, 204, 255, 0.35),
    rgba(0, 191, 255, 0.10) 45%,
    transparent 75%
  );
  z-index: -1;
  filter: blur(26px);
  animation: tvGlow 3.4s ease-in-out infinite;
}

@keyframes tvGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.05); }
}

.work-monitor-frame:hover .tv-frame {
  transform: rotateY(0deg) rotateX(0deg);
}

.work-monitor-frame:hover .tv-body {
  box-shadow:
    0 0 0 2px rgba(51, 204, 255, 0.85),
    0 0 80px rgba(0, 191, 255, 0.60),
    0 0 180px rgba(0, 191, 255, 0.28),
    0 50px 100px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 8px rgba(0, 0, 0, 0.35);
}

.tv-bezel {
  position: relative;
  background: linear-gradient(180deg, #0a0a0a, #050505);
  border-radius: 14px;
  padding: 12px;
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 8px 26px rgba(0, 0, 0, 0.5);
}

.tv-screen {
  width: 100%;
  aspect-ratio: 16/9;
  background: #050505;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.tv-screen-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.03) 22%,
    transparent 40%,
    transparent 100%
  );
  mix-blend-mode: screen;
  z-index: 3;
}

.tv-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
  display: block;
  pointer-events: none;
}

.tv-brand {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-en);
  font-size: 0.78rem;
  letter-spacing: 9px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.tv-neck {
  width: 130px;
  height: 70px;
  margin: 0 auto;
  background: linear-gradient(180deg, #083881, #083881);
  border-radius: 0 0 10px 10px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.5),
    inset 0 -3px 6px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.tv-base {
  width: 460px;
  height: 18px;
  margin: 0 auto;
  border-radius: 12px;
  background: linear-gradient(180deg, #0A9EFF, #0955C9);
  box-shadow:
    0 0 30px rgba(0, 191, 255, 0.4),
    0 12px 45px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ============================================
   SERVICES — Floating 3D Interface
   ============================================ */
.services-3d-section {
  padding: 120px 60px;
  background: #0A0A0A;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.services-3d-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 191, 255, 0.03), transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.02), transparent 50%);
  pointer-events: none;
}

.services-3d-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.services-3d-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-3d-title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  color: #F0F4F8;
  margin: 10px 0 16px;
}

.services-3d-title span {
  color: var(--brand);
}

.services-3d-line {
  width: 60px;
  height: 2px;
  background: var(--brand);
  margin: 0 auto 12px;
}

.services-3d-sub {
  font-size: 0.85rem;
  letter-spacing: 6px;
  color: #858585;
  font-weight: 300;
}

.services-3d-space {
  position: relative;
  width: 100%;
  min-height: 700px;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}

.panel-3d {
  position: absolute;
  background: #101212;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
  transform: translateY(80px) scale(0.92);
  border: 1px solid rgba(255, 255, 255, 0.04);
  min-width: 200px;
}

.panel-3d.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.panel-3d::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.06), transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.panel-3d:hover::before {
  opacity: 1;
}

.panel-3d:nth-child(1) {
  top: 10%;
  left: 50%;
  transform: translateX(-50%) rotateX(48deg) rotateY(-4deg) rotateZ(-25deg) translateZ(80px);
  width: 320px;
  z-index: 5;
}
.panel-3d:nth-child(1).visible {
  transform: translateX(-50%) rotateX(48deg) rotateY(-4deg) rotateZ(-25deg) translateZ(80px);
}

.panel-3d:nth-child(2) {
  top: 5%;
  left: 8%;
  transform: rotateX(50deg) rotateY(8deg) rotateZ(-18deg) translateZ(60px);
  width: 280px;
  z-index: 4;
}
.panel-3d:nth-child(2).visible {
  transform: rotateX(50deg) rotateY(8deg) rotateZ(-18deg) translateZ(60px);
}

.panel-3d:nth-child(3) {
  top: 2%;
  right: 8%;
  transform: rotateX(43deg) rotateY(-10deg) rotateZ(-32deg) translateZ(40px);
  width: 290px;
  z-index: 3;
}
.panel-3d:nth-child(3).visible {
  transform: rotateX(43deg) rotateY(-10deg) rotateZ(-32deg) translateZ(40px);
}

.panel-3d:nth-child(4) {
  bottom: 12%;
  left: 5%;
  transform: rotateX(52deg) rotateY(5deg) rotateZ(-20deg) translateZ(50px);
  width: 260px;
  z-index: 3;
}
.panel-3d:nth-child(4).visible {
  transform: rotateX(52deg) rotateY(5deg) rotateZ(-20deg) translateZ(50px);
}

.panel-3d:nth-child(5) {
  bottom: 8%;
  right: 5%;
  transform: rotateX(45deg) rotateY(-6deg) rotateZ(-28deg) translateZ(30px);
  width: 270px;
  z-index: 2;
}
.panel-3d:nth-child(5).visible {
  transform: rotateX(45deg) rotateY(-6deg) rotateZ(-28deg) translateZ(30px);
}

.panel-3d:nth-child(6) {
  top: 45%;
  left: -2%;
  transform: rotateX(50deg) rotateY(12deg) rotateZ(-15deg) translateZ(-60px);
  width: 140px;
  padding: 16px 20px;
  z-index: 1;
  background: #151717;
}
.panel-3d:nth-child(6).visible {
  transform: rotateX(50deg) rotateY(12deg) rotateZ(-15deg) translateZ(-60px);
}

.panel-3d:nth-child(7) {
  top: 30%;
  right: -1%;
  transform: rotateX(42deg) rotateY(-14deg) rotateZ(-35deg) translateZ(-80px);
  width: 120px;
  padding: 14px 16px;
  z-index: 1;
  background: #151717;
}
.panel-3d:nth-child(7).visible {
  transform: rotateX(42deg) rotateY(-14deg) rotateZ(-35deg) translateZ(-80px);
}

.panel-3d:nth-child(8) {
  bottom: 40%;
  left: 50%;
  transform: translateX(-50%) rotateX(55deg) rotateY(0deg) rotateZ(-10deg) translateZ(-40px);
  width: 160px;
  padding: 14px 20px;
  z-index: 0;
  background: #151717;
}
.panel-3d:nth-child(8).visible {
  transform: translateX(-50%) rotateX(55deg) rotateY(0deg) rotateZ(-10deg) translateZ(-40px);
}

.panel-3d:nth-child(9) {
  top: 55%;
  left: 25%;
  transform: rotateX(48deg) rotateY(8deg) rotateZ(-22deg) translateZ(-100px);
  width: 100px;
  padding: 12px 14px;
  z-index: 0;
  background: #151717;
}
.panel-3d:nth-child(9).visible {
  transform: rotateX(48deg) rotateY(8deg) rotateZ(-22deg) translateZ(-100px);
}

.panel-3d:nth-child(10) {
  bottom: 55%;
  right: 25%;
  transform: rotateX(44deg) rotateY(-10deg) rotateZ(-30deg) translateZ(-120px);
  width: 110px;
  padding: 12px 16px;
  z-index: 0;
  background: #151717;
}
.panel-3d:nth-child(10).visible {
  transform: rotateX(44deg) rotateY(-10deg) rotateZ(-30deg) translateZ(-120px);
}

.panel-3d-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.panel-3d-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.panel-3d-badge {
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: #858585;
  font-weight: 300;
}

.panel-3d-number {
  font-size: 0.8rem;
  color: var(--brand);
  font-weight: 700;
  font-family: monospace;
}

.panel-3d-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #F0F4F8;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.panel-3d-desc {
  font-size: 0.78rem;
  color: #858585;
  line-height: 1.6;
  margin-bottom: 12px;
}

.panel-3d-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

.panel-3d-tags {
  display: flex;
  gap: 10px;
}

.panel-3d-tags span {
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  color: #858585;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
}

.panel-3d-mini-site {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 10px;
  margin-top: 6px;
}

.mini-site-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin-bottom: 8px;
  width: 60%;
}

.mini-site-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mini-site-hero span {
  font-size: 0.65rem;
  font-weight: 700;
  color: #F0F4F8;
  letter-spacing: 4px;
}
.mini-site-hero span:last-child {
  color: var(--brand);
  font-size: 0.5rem;
  letter-spacing: 6px;
}

.panel-3d-mini-ui {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 8px;
  margin-top: 6px;
}

.mini-ui-nav {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin-bottom: 6px;
}
.mini-ui-nav span { display: none; }

.mini-ui-hero {
  height: 14px;
  background: rgba(0, 191, 255, 0.08);
  border-radius: 4px;
  margin-bottom: 6px;
}
.mini-ui-hero span { display: none; }

.mini-ui-grid {
  display: flex;
  gap: 4px;
}
.mini-ui-grid span {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  font-size: 0;
}

.panel-3d-mini-code {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 6px;
  font-family: monospace;
}

.mini-code-line {
  font-size: 0.55rem;
  color: #858585;
  padding: 1px 0;
}
.mini-code-line.active {
  color: var(--brand);
}
.mini-code-line span { opacity: 0.7; }

.panel-3d-mini-landing {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 10px;
  margin-top: 6px;
  text-align: center;
}

.mini-landing-hero h4 {
  font-size: 0.7rem;
  color: #F0F4F8;
  font-weight: 700;
}
.mini-landing-hero p {
  font-size: 0.5rem;
  color: #858585;
  letter-spacing: 2px;
}
.mini-landing-btn {
  background: var(--brand);
  color: #0A0A0A;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 4px;
}

.panel-3d-mini-dashboard {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 6px;
}

.mini-dash-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: #858585;
  padding: 2px 0;
}
.dash-online {
  color: var(--brand);
}

.panel-3d-deco-nav {
  display: flex;
  gap: 6px;
  font-size: 0.6rem;
  color: #858585;
}
.panel-3d-deco-nav span { opacity: 0.6; }
.panel-3d-deco-nav span:first-child { color: #F0F4F8; opacity: 1; }

.panel-3d-deco-stats {
  text-align: center;
}
.panel-3d-deco-stats .stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
}
.panel-3d-deco-stats .stat-label {
  font-size: 0.5rem;
  letter-spacing: 3px;
  color: #858585;
}

.panel-3d-deco-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 1px;
}

.panel-3d-deco-analytics {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.analytics-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}
.analytics-bar:nth-child(1) { width: 70%; }
.analytics-bar:nth-child(2) { width: 40%; background: rgba(0, 191, 255, 0.2); }
.analytics-bar:nth-child(3) { width: 85%; }

.panel-3d-deco-typography {
  text-align: center;
}
.panel-3d-deco-typography span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #F0F4F8;
}
.panel-3d-deco-typography span:last-child {
  font-size: 0.5rem;
  letter-spacing: 6px;
  color: #858585;
}

/* ==================================================
   WHY
   ================================================== */
.why-section {
  padding: 140px 60px;
  text-align: center;
}

.why-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  max-width: 1200px;
  margin-inline: auto;
}

.why-card {
  padding: 44px 28px;
  background: var(--glass);
  border: 1px solid rgba(240, 244, 248, .08);
  border-radius: 12px;
  text-align: center;
  transition: border-color .4s, transform .1s linear, background .4s;
}

.why-card:hover {
  border-color: rgba(0, 191, 255, .5);
  background: rgba(0, 191, 255, .05);
}

.why-icon {
  color: var(--brand);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 18px;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #F0F4F8;
}

.why-card p {
  font-size: .9rem;
  color: var(--text-soft);
}

/* ==================================================
   TWITTER-STYLE TESTIMONIALS
   ================================================== */
.testimonials-section {
  padding: 140px 60px;
  text-align: center;
}

.tweets-grid {
  max-width: 1100px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tweet-card {
  background: var(--glass);
  border: 1px solid rgba(240, 244, 248, .08);
  border-radius: 16px;
  padding: 24px 24px 16px;
  text-align: right;
  transition: all .4s var(--ease-lux);
  transform-style: preserve-3d;
}

.tweet-card:hover {
  border-color: rgba(0, 191, 255, .25);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.tweet-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.tweet-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0A0A0A;
  flex-shrink: 0;
}

.tweet-user {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.tweet-name {
  font-weight: 700;
  color: #F0F4F8;
  font-size: .95rem;
}

.tweet-handle {
  font-size: .78rem;
  color: var(--text-faint);
}

.tweet-time {
  font-size: .72rem;
  color: var(--text-faint);
  margin-right: auto;
}

.tweet-text {
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 14px;
  padding-right: 4px;
}

.tweet-actions {
  display: flex;
  gap: 24px;
  border-top: 1px solid rgba(240, 244, 248, .06);
  padding-top: 12px;
}

.tweet-actions button {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-faint);
  font-size: .78rem;
  transition: color .3s;
  background: none;
  border: none;
  cursor: pointer;
}

.tweet-actions button svg {
  fill: currentColor;
  transition: fill .3s, transform .3s;
}

.tweet-like:hover {
  color: #F91880;
}
.tweet-like:hover svg {
  fill: #F91880;
  transform: scale(1.1);
}

.tweet-retweet:hover {
  color: #00BA7C;
}
.tweet-retweet:hover svg {
  fill: #00BA7C;
  transform: scale(1.1);
}

.tweet-share:hover {
  color: #1D9BF0;
}
.tweet-share:hover svg {
  fill: #1D9BF0;
  transform: scale(1.1);
}

/* ==================================================
   CONSULTATION
   ================================================== */
.consult-section {
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.consult-panel {
  max-width: 640px;
  text-align: center;
  padding: 60px 50px;
  background: var(--glass);
  border: 1px solid rgba(0, 191, 255, .15);
  border-radius: 18px;
  backdrop-filter: blur(18px);
}

.consult-panel .section-desc {
  margin: 0 auto 40px;
}

.consult-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0 24px;
}

.consult-call-btn,
.consult-tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 60px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.consult-call-btn {
  background: linear-gradient(135deg, #00BFFF, #0A6EFF);
  color: #0A0A0A;
  box-shadow: 0 8px 30px rgba(0, 191, 255, 0.3);
}

.consult-call-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 191, 255, 0.5);
}

.consult-tg-btn {
  border: 1px solid rgba(240, 244, 248, 0.2);
  color: #F0F4F8;
}

.consult-tg-btn:hover {
  border-color: #00BFFF;
  color: #00BFFF;
  background: rgba(0, 191, 255, 0.06);
  transform: translateY(-4px);
}

.consult-info {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(240, 244, 248, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consult-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.consult-info-label {
  color: rgba(240, 244, 248, 0.5);
  font-size: 0.85rem;
}

.consult-info-value {
  color: #00BFFF;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
}

.consult-info-value:hover {
  color: #33CCFF;
}

/* ==================================================
   FAQ SECTION
   ================================================== */
.faq-section {
  padding: 120px 60px;
  background: #0A0A0A;
}

.faq-list {
  max-width: 800px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(240, 244, 248, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(0, 191, 255, 0.25);
  background: rgba(0, 191, 255, 0.03);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: #F0F4F8;
  list-style: none;
  transition: color 0.3s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: #00BFFF;
}

.faq-icon {
  font-size: 1.5rem;
  color: #00BFFF;
  transition: transform 0.3s ease;
  line-height: 1;
  font-weight: 300;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 26px 22px 26px;
  color: rgba(240, 244, 248, 0.72);
  line-height: 1.9;
  font-size: 0.95rem;
}

/* ==================================================
   FOOTER
   ================================================== */
.footer {
  position: relative;
  padding: 70px 60px 30px;
  background: #0A0A0A;
  border-top: 1px solid rgba(240, 244, 248, .06);
}

.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(240, 244, 248, .06);
}

.footer-brand {
  text-align: right;
}

.footer-logo {
  font-family: var(--ff-en);
  font-size: 1.6rem;
  margin-bottom: 8px;
  letter-spacing: .02em;
}

.footer-logo span {
  color: var(--brand);
  font-style: italic;
}

.footer-tag {
  color: var(--text-faint);
  font-size: .85rem;
  max-width: 260px;
  line-height: 1.8;
}

.footer-col h4,
.footer-consult h4 {
  font-size: .75rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--text-faint);
  font-size: .88rem;
  margin-bottom: 10px;
  transition: color .3s;
  width: fit-content;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-consult {
  text-align: right;
}

.consult-text {
  color: var(--text-soft);
  font-size: .88rem;
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 240px;
}

.btn-consult {
  padding: 10px 24px;
  font-size: .82rem;
  display: inline-block;
  background: var(--brand);
  color: #0A0A0A;
  border-radius: 40px;
  font-weight: 600;
  transition: all .3s;
  text-decoration: none;
}

.btn-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(0, 191, 255, .4);
}

.footer-bottom {
  max-width: 1280px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-signature {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: .75rem;
  color: var(--text-faint);
  opacity: 0.5;
}

.footer-copy {
  color: var(--text-faint);
  font-size: .75rem;
  opacity: 0.5;
}

/* ==================================================
   CINEMATIC BARS + MODAL
   ================================================== */
.cinebar {
  position: fixed;
  inset-inline: 0;
  height: 0;
  background: #000;
  z-index: 900;
  pointer-events: none;
}

.cinebar-top {
  top: 0;
}

.cinebar-bottom {
  bottom: 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(10, 10, 10, .6);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease-lux);
  padding: 24px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  width: min(520px, 100%);
  background: #0B0A08;
  border: 1px solid rgba(0, 191, 255, .3);
  border-radius: 16px;
  padding: 50px 44px;
  position: relative;
  transform: translateY(30px) scale(.96);
  opacity: 0;
  transition: transform .5s var(--ease-lux), opacity .5s var(--ease-lux);
  max-height: 88vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--text-faint);
  font-size: 1rem;
}

.modal-title {
  font-size: 1.5rem;
  margin: 8px 0 30px;
  color: #F0F4F8;
}

.modal-title span {
  color: var(--brand);
  font-style: italic;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.field {
  position: relative;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(240, 244, 248, .2);
  padding: 10px 2px;
  color: #F0F4F8;
  font-family: var(--ff-fa);
  font-size: .95rem;
  outline: none;
  resize: none;
  transition: border-color .3s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
}

.field label {
  position: absolute;
  right: 2px;
  top: 10px;
  color: var(--text-faint);
  font-size: .9rem;
  pointer-events: none;
  transition: transform .25s var(--ease-lux), font-size .25s, color .25s;
}

.field input:focus+label,
.field input:not(:placeholder-shown)+label,
.field textarea:focus+label,
.field textarea:not(:placeholder-shown)+label {
  transform: translateY(-22px);
  font-size: .72rem;
  color: var(--brand);
}

.form-success {
  display: none;
  color: var(--brand);
  font-size: .88rem;
  text-align: center;
}

.form-success.show {
  display: block;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

/* ============================================
   CONTACT — دکمه‌های بزرگ
   ============================================ */
.contact-big-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.big-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ============================================
   TABLET — 769 تا 1024
   ============================================ */
@media (max-width: 1280px) {
  .work-section {
    gap: 40px;
    padding: 100px 40px;
  }
  .tv-frame {
    max-width: 900px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 0.8rem;
  }
  .nav-cta {
    padding: 6px 16px;
    font-size: 0.75rem;
  }

  .hero-title {
    font-size: 4rem !important;
  }

  .work-section {
    flex-direction: column !important;
    padding: 80px 30px !important;
    text-align: center;
    gap: 50px !important;
    min-height: auto !important;
  }
  .work-text {
    max-width: 100%;
    text-align: center;
    order: 2;
  }
  .work-monitor-frame {
    perspective: none !important;
    width: 100%;
    order: 1;
  }
  .tv-frame {
    transform: none !important;
    max-width: 560px;
    margin: 0 auto;
  }
  .tv-body {
    padding: 16px 16px 24px;
  }
  .tv-base {
    width: 280px;
  }

  .services-3d-section {
    padding: 80px 30px !important;
  }
  .services-3d-space {
    min-height: 600px;
  }
  .panel-3d {
    transform: scale(0.85) !important;
  }
  .panel-3d-deco {
    display: none !important;
  }

  .why-section {
    padding: 80px 30px !important;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-section {
    padding: 80px 30px !important;
  }
  .tweets-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    padding: 60px 30px 24px !important;
  }
  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr !important;
    gap: 30px !important;
  }
  .footer-consult {
    grid-column: 1 / -1;
    text-align: center;
  }
  .consult-text {
    margin: 0 auto 12px;
  }
}

/* ============================================
   MOBILE — زیر 768
   ============================================ */
@media (max-width: 768px) {

  /* ===== NAV ===== */
  .nav {
    padding: 12px 0;
  }
  .nav-inner {
    padding: 0 16px;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  .nav-logo-img {
    height: 32px;
  }

  /* ===== HERO ===== */
  .hero {
    min-height: 80vh;
    padding: 80px 0 40px;
  }
  .hero-content {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 2.4rem !important;
  }
  .hero-title .char {
    font-size: 2.4rem;
  }
  .hero-slogan {
    font-size: 1rem;
    margin-top: 16px;
  }
  .hero-actions {
    margin-top: 28px;
    gap: 12px;
  }
  .btn-gold,
  .btn-ghost {
    padding: 10px 22px;
    font-size: 0.8rem;
  }
  .hero-scroll-hint {
    bottom: 20px;
  }
  .hero-scroll-hint span {
    height: 30px;
  }

  /* ===== WORK — TELEVISION ===== */
  .work-section {
    flex-direction: column !important;
    padding: 60px 16px !important;
    gap: 30px !important;
    min-height: auto !important;
  }
  .work-text {
    max-width: 100%;
    text-align: center;
  }
  .work-text .section-title {
    font-size: 1.8rem;
  }
  .work-text .section-desc {
    font-size: 0.9rem;
    margin: 0 auto;
  }

  .work-monitor-frame {
    perspective: none !important;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    order: 1;
  }
  .tv-frame {
    transform: none !important;
    max-width: 320px;
    margin: 0 auto;
  }
  .tv-body {
    padding: 10px 10px 18px;
    border-radius: 14px;
  }
  .tv-bezel {
    padding: 5px;
    border-radius: 8px;
  }
  .tv-screen {
    width: 100% !important;
    aspect-ratio: 16/10;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
  }
  .tv-iframe {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 50px);
    pointer-events: none;
    transform: scale(0.95);
    transform-origin: top center;
  }
  .tv-brand {
    font-size: 0.5rem;
    letter-spacing: 4px;
    bottom: 3px;
  }
  .tv-neck {
    width: 45px;
    height: 25px;
  }
  .tv-base {
    width: 140px;
    height: 9px;
  }
/* ============================================
   WORK 2 — LAPTOP / ACCOUNTING APP
   ============================================ */
.work-section-alt {
  background: #0A0A0A;
  flex-direction: row-reverse;
}

.work-bg-glow-alt {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(0, 191, 255, 0.12), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(10, 110, 255, 0.22), transparent 60%);
  pointer-events: none;
}

/* ===== لپ‌تاپ ===== */
.laptop-bezel {
  position: relative;
  transform: rotateY(4deg) rotateX(1.5deg);
  transition: transform 0.8s var(--ease-lux), box-shadow 0.6s var(--ease-lux);
  transform-style: preserve-3d;
  border-radius: 18px 18px 10px 10px;
  padding: 20px 20px 0;
  background: linear-gradient(160deg,
    #1EBFFF 0%,
    #0A9EFF 35%,
    #0A6EFF 70%,
    #0955C9 100%
  );
  box-shadow:
    0 0 0 2px rgba(51, 204, 255, 0.55),
    0 0 60px rgba(0, 191, 255, 0.45),
    0 0 140px rgba(0, 191, 255, 0.22),
    0 50px 100px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 8px rgba(0, 0, 0, 0.35);
}

.laptop-bezel::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 32px;
  background: radial-gradient(ellipse at center,
    rgba(51, 204, 255, 0.35),
    rgba(0, 191, 255, 0.10) 45%,
    transparent 75%
  );
  z-index: -1;
  filter: blur(26px);
  animation: tvGlow 3.4s ease-in-out infinite 0.3s;
}

.work-monitor-left:hover .laptop-bezel {
  transform: rotateY(0deg) rotateX(0deg);
}

/* صفحه لپ‌تاپ */
.laptop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: #050505;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* عکس داخل لپ‌تاپ */
.laptop-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 8px;
}

/* درخشش روی صفحه */
.laptop-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.03) 22%,
    transparent 40%,
    transparent 100%
  );
  mix-blend-mode: screen;
  z-index: 3;
  border-radius: 8px;
}

/* کیبورد */
.laptop-keyboard {
  width: 100%;
  background: linear-gradient(180deg, #1a1a1a, #0d0d0d);
  border-radius: 0 0 10px 10px;
  padding: 8px 12px 12px;
  margin-top: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 40px rgba(0, 0, 0, 0.5);
}

.laptop-keys {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 3px;
  margin-bottom: 6px;
}

.laptop-keys span {
  height: 8px;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  border-radius: 2px;
  border-bottom: 1px solid #333;
}

.laptop-keys span:nth-child(6),
.laptop-keys span:nth-child(12) {
  grid-column: span 2;
}

.laptop-trackpad {
  width: 70px;
  height: 26px;
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  border-radius: 4px;
  margin: 0 auto;
  border: 1px solid #333;
}

/* تگ‌های ویژگی */
.work-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.work-features span {
  font-size: 0.72rem;
  color: #00BFFF;
  background: rgba(0, 191, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.2);
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ============================================
   LAPTOP RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .laptop-bezel {
    transform: none !important;
    max-width: 560px;
    margin: 0 auto;
    padding: 14px 14px 0;
  }
  .work-section-alt {
    flex-direction: column !important;
  }
}

@media (max-width: 768px) {
  .laptop-bezel {
    max-width: 100%;
    padding: 10px 10px 0;
    border-radius: 14px 14px 8px 8px;
  }
  .laptop-keys span {
    height: 6px;
  }
  .laptop-trackpad {
    width: 50px;
    height: 18px;
  }
  .work-features {
    justify-content: center;
  }
  .work-features span {
    font-size: 0.65rem;
    padding: 3px 10px;
  }
}

@media (max-width: 480px) {
  .laptop-bezel {
    padding: 8px 8px 0;
    border-radius: 12px 12px 6px 6px;
  }
  .laptop-keys span {
    height: 5px;
  }
  .laptop-trackpad {
    width: 40px;
    height: 14px;
  }
}

  /* ===== SERVICES 3D ===== */
  .services-3d-section {
    padding: 60px 16px !important;
  }
  .services-3d-header {
    margin-bottom: 40px;
  }
  .services-3d-title {
    font-size: 1.8rem !important;
  }
  .services-3d-sub {
    font-size: 0.7rem;
    letter-spacing: 3px;
  }
  .services-3d-space {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-height: auto !important;
    perspective: none !important;
  }
  .panel-3d {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 14px 0 !important;
    padding: 18px 20px !important;
    opacity: 0;
    transform: translateY(30px) !important;
  }
  .panel-3d.visible {
    transform: translateY(0) !important;
    opacity: 1;
  }
  .panel-3d-deco {
    display: none !important;
  }
  .panel-3d-title {
    font-size: 1rem !important;
  }
  .panel-3d-desc {
    font-size: 0.75rem !important;
  }
  .panel-3d-mini-site,
  .panel-3d-mini-ui,
  .panel-3d-mini-code,
  .panel-3d-mini-landing,
  .panel-3d-mini-dashboard {
    display: none !important;
  }

  /* ===== WHY ===== */
  .why-section {
    padding: 60px 16px !important;
  }
  .why-section .section-title {
    font-size: 1.6rem;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }
  .why-card {
    padding: 28px 20px;
  }
  .why-card h3 {
    font-size: 1rem;
  }
  .why-card p {
    font-size: 0.85rem;
  }

  /* ===== TESTIMONIALS ===== */
  .testimonials-section {
    padding: 60px 16px !important;
  }
  .testimonials-section .section-title {
    font-size: 1.6rem;
  }
  .tweets-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }
  .tweet-card {
    padding: 16px 16px 12px;
  }
  .tweet-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .tweet-name {
    font-size: 0.85rem;
  }
  .tweet-handle {
    font-size: 0.7rem;
  }
  .tweet-time {
    font-size: 0.65rem;
  }
  .tweet-text {
    font-size: 0.85rem;
  }
  .tweet-actions {
    gap: 16px;
    padding-top: 10px;
  }

  /* ===== CONSULTATION ===== */
  .consult-section {
    padding: 60px 16px !important;
    min-height: auto !important;
  }
  .consult-panel {
    padding: 30px 20px !important;
  }
  .consult-panel .section-title {
    font-size: 1.6rem;
  }
  .consult-panel .section-desc {
    font-size: 0.9rem;
  }
  .consult-call-btn,
  .consult-tg-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
  .consult-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* ===== FAQ ===== */
  .faq-section {
    padding: 60px 16px !important;
  }
  .faq-section .section-title {
    font-size: 1.6rem;
  }
  .faq-list {
    margin-top: 30px;
  }
  .faq-item summary {
    padding: 16px 18px;
    font-size: 0.92rem;
  }
  .faq-answer {
    padding: 0 18px 16px 18px;
    font-size: 0.85rem;
  }

  /* ===== FOOTER ===== */
  .footer {
    padding: 40px 16px 24px !important;
  }
  .footer-main {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    text-align: center;
  }
  .footer-brand {
    border-inline-end: none !important;
    padding-inline-end: 0 !important;
    border-bottom: 1px solid rgba(240, 244, 248, .06);
    padding-bottom: 20px;
    text-align: center;
  }
  .footer-tag {
    max-width: 100%;
    margin: 0 auto;
  }
  .footer-col a {
    margin: 0 auto 8px;
  }
  .footer-consult {
    text-align: center;
    border-top: 1px solid rgba(240, 244, 248, .06);
    padding-top: 20px;
  }
  .consult-text {
    max-width: 100%;
    margin: 0 auto 12px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* ===== CURSOR ===== */
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
  button, a {
    cursor: pointer !important;
  }
}

/* ============================================
   SMALL MOBILE — زیر 480
   ============================================ */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem !important;
  }
  .hero-title .char {
    font-size: 2rem;
  }
  .btn-gold,
  .btn-ghost {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
  .section-title {
    font-size: 1.4rem !important;
  }
  .panel-3d {
    padding: 14px 16px !important;
  }
  .panel-3d-title {
    font-size: 0.9rem !important;
  }
  .footer-links {
    grid-template-columns: 1fr !important;
  }
  .faq-item summary {
    font-size: 0.85rem;
    padding: 14px 16px;
  }

  /* تلویزیون کوچک‌تر */
  .work-monitor-frame,
  .tv-frame {
    max-width: 260px;
  }
  .tv-body {
    padding: 8px 8px 14px;
    border-radius: 12px;
  }
  .tv-bezel {
    padding: 4px;
    border-radius: 6px;
  }
  .tv-iframe {
    top: -40px;
    height: calc(100% + 40px);
    transform: scale(0.9);
  }
  .tv-neck {
    width: 35px;
    height: 20px;
  }
  .tv-base {
    width: 110px;
    height: 7px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}