/* =========================================================
   y2kpremium.ir — holographic Y2K, RTL
   ========================================================= */

/* ---- فونت ------------------------------------------------
   اول از پوشهٔ static/fonts می‌خواند، اگر فایل نبود از CDN.
   برای سرعت بیشتر در ایران، فایل‌های woff2 را در static/fonts بگذارید.
----------------------------------------------------------- */
@font-face {
  font-family: 'Vazirmatn';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Vazirmatn-Regular.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Vazirmatn';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Vazirmatn-Medium.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Vazirmatn';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Vazirmatn-Bold.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Vazirmatn';
  font-weight: 900;
  font-display: swap;
  src: url('fonts/Vazirmatn-Black.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Black.woff2') format('woff2');
}

:root {
  --ink:        #08040F;
  --ink-2:      #150A2B;
  --violet:     #8B5CF6;
  --magenta:    #FF2E9A;
  --blush:      #FFA8DC;
  --periwinkle: #C9B6FF;
  --text:       #F6ECFF;
  --muted:      #B3A0D2;

  --edge: 1px solid rgba(255, 168, 220, .16);
  --pad:  clamp(22px, 5vw, 46px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
}

body {
  min-height: 100vh;
  font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
  color: var(--text);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- پس‌زمینه: هالهٔ هولوگرافیک -------------------------- */
.aura {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.blob-a {
  width: 60vmax; height: 60vmax;
  top: -26vmax; right: -18vmax;
  background: radial-gradient(circle, var(--magenta), transparent 68%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.blob-b {
  width: 55vmax; height: 55vmax;
  bottom: -24vmax; left: -16vmax;
  background: radial-gradient(circle, var(--violet), transparent 68%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
.blob-c {
  width: 34vmax; height: 34vmax;
  top: 38%; left: 34%;
  background: radial-gradient(circle, #5B21B6, transparent 70%);
  opacity: .42;
  animation: drift-a 38s ease-in-out infinite alternate-reverse;
}

@keyframes drift-a { to { transform: translate3d(-6vw,  5vh, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d( 5vw, -6vh, 0) scale(1.08); } }

/* ستاره‌های چهارپر — امضای Y2K، خیلی کم و آرام */
.spark {
  position: absolute;
  width: 18px; height: 18px;
  background: var(--blush);
  opacity: .55;
  clip-path: polygon(50% 0%, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0% 50%, 42% 42%);
  animation: twinkle 5s ease-in-out infinite;
}
.spark-1 { top: 16%; right: 12%; }
.spark-2 { top: 62%; left:  9%; width: 12px; height: 12px; animation-delay: 1.6s; }
.spark-3 { top: 34%; left: 22%; width: 9px;  height: 9px;  animation-delay: 3.1s; opacity: .38; }

@keyframes twinkle {
  0%, 100% { transform: scale(.7) rotate(0deg);   opacity: .2; }
  50%      { transform: scale(1)  rotate(20deg);  opacity: .6; }
}

/* ---- چیدمان ---------------------------------------------- */
.page {
  position: relative;
  z-index: 1;
  width: min(760px, 92vw);
  margin: 0 auto;
  padding: clamp(60px, 13vh, 130px) 0 60px;
}

/* ---- هدر -------------------------------------------------- */
.hero {
  text-align: center;
  margin-bottom: clamp(38px, 7vw, 62px);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  padding: 7px 20px;
  border: var(--edge);
  border-radius: 999px;
  background: rgba(255, 46, 154, .09);
  color: var(--blush);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  direction: ltr;
}

.headline {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 7.2vw, 3.7rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.01em;
  background: linear-gradient(200deg, #FFFFFF 6%, var(--blush) 40%, var(--periwinkle) 74%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: clamp(.98rem, 2.6vw, 1.12rem);
}

/* ---- کارت نوع فعالیت -------------------------------------- */
.panel {
  padding: var(--pad);
  border: var(--edge);
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(255, 168, 220, .07), rgba(139, 92, 246, .05));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
  margin-bottom: clamp(20px, 4vw, 30px);
}

.label {
  margin: 0 0 14px;
  color: var(--magenta);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.prose {
  margin: 0;
  color: #E4D6F5;
  font-size: clamp(.95rem, 2.5vw, 1.04rem);
  text-align: justify;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 6px 15px;
  border: 1px solid rgba(201, 182, 255, .22);
  border-radius: 999px;
  background: rgba(139, 92, 246, .12);
  color: var(--periwinkle);
  font-size: .85rem;
  font-weight: 500;
}

/* ---- پلاک شماره پشتیبانی (امضای صفحه) --------------------- */
.plaque {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 44px) var(--pad);
  border: 1px solid rgba(255, 168, 220, .28);
  border-radius: 26px;
  text-align: center;
  background:
    linear-gradient(155deg,
      rgba(255, 255, 255, .16) 0%,
      rgba(255, 46, 154, .30) 26%,
      rgba(139, 92, 246, .34) 62%,
      rgba(21, 10, 43, .60) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -30px 60px -30px rgba(255, 46, 154, .5),
    0 30px 70px -34px rgba(255, 46, 154, .55);
}

/* برق کروم که آرام روی پلاک می‌لغزد */
.plaque::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -35%;
  width: 45%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .30), transparent);
  transform: rotate(14deg);
  animation: sheen 7s ease-in-out infinite;
}

@keyframes sheen {
  0%, 62%  { left: -35%; }
  100%     { left: 125%; }
}

.label-on-plaque {
  position: relative;
  z-index: 1;
  color: #FFD9F0;
}

.phone {
  position: relative;
  z-index: 1;
  display: block;
  margin: 4px 0 10px;
  font-size: clamp(1.9rem, 8vw, 3.1rem);
  font-weight: 900;
  letter-spacing: .04em;
  color: #FFFFFF;
  text-decoration: none;
  text-shadow: 0 0 30px rgba(255, 168, 220, .65);
  transition: text-shadow .3s ease;
}
.phone:hover { text-shadow: 0 0 44px rgba(255, 255, 255, .85); }
.phone:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 6px;
  border-radius: 10px;
}

.hours {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 236, 250, .78);
  font-size: .92rem;
}

/* ---- پاورقی ----------------------------------------------- */
.foot {
  margin-top: clamp(34px, 7vw, 56px);
  text-align: center;
  color: rgba(179, 160, 210, .6);
  font-size: .8rem;
}

/* ---- ریسپانسیو -------------------------------------------- */
@media (max-width: 480px) {
  .prose  { text-align: right; }
  .page   { padding-top: 70px; }
  .spark-1, .spark-3 { display: none; }
}

/* ---- احترام به تنظیم کاهش انیمیشن ------------------------- */
@media (prefers-reduced-motion: reduce) {
  .blob, .spark, .plaque::after { animation: none; }
  .plaque::after { display: none; }
}
