/* Premium home sections — unified dark glass theme */

/* Preloader */
.page-premium-home #preloader.pst-preloader {
  background: #030303;
  z-index: 99999;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-premium-home #preloader.pst-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-premium-home .pst-preloader__inner {
  text-align: center;
  padding: 24px;
}

.page-premium-home .pst-preloader__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.page-premium-home .pst-preloader__logo img {
  width: min(280px, 72vw);
  height: auto;
  display: block;
  animation: pst-preloader-pulse 2s ease-in-out infinite;
}

.page-premium-home .pst-preloader__brand {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 16px 0 28px;
  letter-spacing: 0.01em;
}

.page-premium-home .pst-preloader__bar {
  width: min(220px, 70vw);
  height: 3px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.page-premium-home .pst-preloader__bar span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6);
  animation: pst-preloader-progress 1.4s ease-in-out infinite;
}

.page-premium-home .pst-preloader__text {
  margin: 0;
  color: #a78bfa;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.page-premium-home .pst-preloader .animation-preloader {
  opacity: 1;
}

.page-premium-home .pst-preloader.loaded .animation-preloader {
  opacity: 0;
  transition: opacity 0.35s ease;
}

@keyframes pst-preloader-progress {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(280%);
  }
}

@keyframes pst-preloader-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.88;
  }
}

.page-premium-home .pst-home-section {
  position: relative;
  z-index: 2;
  color: var(--pst-text);
}

/* Solid titles — no gradient clip effect */
.page-premium-home .premium-hero__title .gradient-text {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #a78bfa;
}

.page-premium-home .pst-section-head__eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.page-premium-home .pst-section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 16px;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.page-premium-home .pst-section-head p {
  color: var(--pst-text-secondary);
  line-height: 1.75;
  margin: 0;
  max-width: 560px;
}

.page-premium-home .pst-section-head--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.page-premium-home .pst-section-head--center p {
  margin-inline: auto;
}

.page-premium-home .pst-section-head--start {
  text-align: start;
  margin-bottom: 24px;
}

/* Override legacy gradient section titles site-wide on premium home */
.page-premium-home .section-title > span,
.page-premium-home .section-title > span::before {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #a78bfa;
  padding-right: 0;
  padding-left: 0;
}

.page-premium-home .section-title > span::before {
  content: none;
}

.page-premium-home .section-title h2,
.page-premium-home .section-title h2 span {
  color: #ffffff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.page-premium-home .section-title p {
  color: var(--pst-text-secondary);
}

/* About */
.page-premium-home .pst-home-about {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-premium-home .pst-about-visual {
  position: relative;
}

.page-premium-home .pst-about-visual__img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--pst-glass-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.page-premium-home .pst-about-visual__badge {
  position: absolute;
  inset-inline-start: 24px;
  bottom: 24px;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(3, 3, 3, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--pst-glass-border);
  text-align: center;
}

.page-premium-home .pst-about-visual__badge strong {
  display: block;
  font-size: 2rem;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.page-premium-home .pst-about-visual__badge span {
  color: var(--pst-text-secondary);
  font-size: 0.875rem;
}

.page-premium-home .pst-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.page-premium-home .pst-check-list li {
  position: relative;
  padding-right: 28px;
  margin-bottom: 12px;
  color: var(--pst-text-secondary);
  line-height: 1.6;
}

.page-premium-home .pst-check-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: #a78bfa;
  font-weight: 700;
}

/* Clients marquee — premium dark */
.page-premium-home .clients-faces-bar-wrapper.pst-clients-bar {
  margin-top: 0;
  background: transparent;
  position: relative;
  z-index: 2;
  padding: 40px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-premium-home .pst-clients-bar__label {
  text-align: center;
  color: var(--pst-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 0 28px;
  letter-spacing: 0.02em;
}

.page-premium-home .clients-faces-bar {
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.page-premium-home .pst-clients-bar {
  position: relative;
}

.page-premium-home .pst-clients-bar::before,
.page-premium-home .pst-clients-bar::after {
  content: "";
  position: absolute;
  top: 56px;
  bottom: 48px;
  width: 72px;
  z-index: 3;
  pointer-events: none;
}

.page-premium-home .pst-clients-bar::before {
  right: 0;
  background: linear-gradient(to left, #030303, transparent);
}

.page-premium-home .pst-clients-bar::after {
  left: 0;
  background: linear-gradient(to right, #030303, transparent);
}

.page-premium-home .client-face-img {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25);
}

.page-premium-home .single-client-face span {
  color: var(--pst-text-secondary);
  font-size: 0.8125rem;
}

.page-premium-home .single-client-face:hover span {
  color: #ffffff;
}

.page-premium-home .single-client-face:hover .client-face-img {
  border-color: #8b5cf6;
  transform: scale(1.05);
  transition: transform 0.25s, border-color 0.25s;
}

.page-premium-home .client-face-img {
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

/* Services — horizontal cards, 3 per row */
.page-premium-home .pst-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.page-premium-home .pst-service-hcard {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  min-height: 100%;
}

.page-premium-home .pst-service-hcard:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.12);
}

.page-premium-home .pst-service-hcard__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.2));
  color: #c4b5fd;
  font-size: 1.25rem;
}

.page-premium-home .pst-service-hcard__body {
  flex: 1;
  min-width: 0;
}

.page-premium-home .pst-service-hcard__body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.page-premium-home .pst-service-hcard__body h3 a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.page-premium-home .pst-service-hcard__body h3 a:hover {
  color: #c4b5fd;
}

.page-premium-home .pst-service-hcard__body > p {
  margin: 0 0 10px;
  color: var(--pst-text-secondary);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.page-premium-home .pst-service-hcard__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-premium-home .pst-service-hcard__body li {
  font-size: 0.75rem;
  color: var(--pst-text-muted);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  white-space: nowrap;
}

.page-premium-home .pst-home-services {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-premium-home .pst-section-cta {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 1199px) {
  .page-premium-home .pst-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .page-premium-home .pst-services-grid {
    grid-template-columns: 1fr;
  }

  .page-premium-home .pst-service-hcard {
    padding: 18px 16px;
  }
}

/* Why — 3D cards */
.page-premium-home .pst-home-why {
  padding: 80px 0;
}

.page-premium-home .pst-3d-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.page-premium-home .pst-card-3d {
  position: relative;
  text-align: center;
  padding: 36px 24px 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(4deg) translateZ(0);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -12px 32px rgba(139, 92, 246, 0.06) inset;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s;
  overflow: hidden;
}

.page-premium-home .pst-card-3d__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 120%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s;
}

.page-premium-home .pst-card-3d:hover {
  transform: perspective(900px) rotateX(0deg) translateY(-10px) translateZ(12px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow:
    0 32px 64px rgba(139, 92, 246, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -16px 40px rgba(59, 130, 246, 0.1) inset;
}

.page-premium-home .pst-card-3d:hover .pst-card-3d__glow {
  opacity: 1;
}

.page-premium-home .pst-card-3d__icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.35), rgba(59, 130, 246, 0.25));
  box-shadow:
    0 12px 28px rgba(139, 92, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateZ(24px);
}

.page-premium-home .pst-card-3d__icon img {
  width: 36px;
  height: 36px;
  filter: brightness(1.1);
}

.page-premium-home .pst-card-3d h4 {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  color: #ffffff;
  margin: 0 0 10px;
}

.page-premium-home .pst-card-3d p {
  position: relative;
  z-index: 1;
  color: var(--pst-text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

/* Contact */
.page-premium-home .pst-home-contact {
  padding: 80px 0 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-premium-home .pst-home-contact__form {
  max-width: 100%;
  margin: 0;
  padding: 32px;
}

.page-premium-home .pst-home-contact .premium-contact-form-wrap label {
  color: var(--pst-text-secondary);
}

.page-premium-home .pst-home-contact .premium-contact-form-wrap .pst-btn-primary {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.page-premium-home .pst-contact-panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--pst-glass-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.page-premium-home .pst-contact-panel img {
  width: 100%;
  display: block;
  min-height: 320px;
  object-fit: cover;
}

.page-premium-home .pst-contact-panel__info {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(3, 3, 3, 0.95), transparent);
}

.page-premium-home .pst-contact-panel__item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.page-premium-home .pst-contact-panel__item:last-child {
  margin-bottom: 0;
}

.page-premium-home .pst-contact-panel__item i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  font-size: 1.1rem;
}

.page-premium-home .pst-contact-panel__item strong {
  display: block;
  color: #ffffff;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.page-premium-home .pst-contact-panel__item span {
  color: var(--pst-text-secondary);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .page-premium-home .pst-3d-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-premium-home .pst-home-about,
  .page-premium-home .pst-home-services,
  .page-premium-home .pst-home-why,
  .page-premium-home .pst-home-contact,
  .page-premium-home .pst-home-projects,
  .page-premium-home .pst-home-testimonials {
    padding: 56px 0;
  }

  .page-premium-home .pst-3d-grid {
    grid-template-columns: 1fr;
  }

  .page-premium-home .pst-about-visual__badge {
    inset-inline-start: 16px;
    bottom: 16px;
    padding: 14px 18px;
  }

  .page-premium-home .pst-home-contact__form {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .page-premium-home .pst-card-3d {
    transform: none;
  }

  .page-premium-home .pst-card-3d:hover {
    transform: translateY(-6px);
  }
}

/* Projects section */
.page-premium-home .pst-home-projects {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-premium-home .pst-home-projects__head {
  margin-bottom: 36px;
}

.page-premium-home .pst-projects-grid .col-xl-4 {
  margin-bottom: 24px;
}

.page-premium-home .pst-projects-grid .premium-project-card {
  width: 100%;
  min-height: 300px;
  display: block;
}

.page-premium-home .pst-projects-grid .premium-project-card h3 {
  color: #ffffff;
}

.page-premium-home .premium-filter.case-cat-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.page-premium-home .premium-filter.case-cat-filter button {
  border: 1px solid var(--pst-glass-border);
  background: var(--pst-glass-bg);
  color: var(--pst-text-secondary);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  margin: 0;
  box-shadow: none;
  text-transform: none;
}

.page-premium-home .premium-filter.case-cat-filter button.active,
.page-premium-home .premium-filter.case-cat-filter button:hover {
  color: var(--pst-text);
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.15);
}

@media (max-width: 991px) {
  .page-premium-home .premium-filter.case-cat-filter {
    justify-content: center;
  }
}

/* CTA band */
.page-premium-home .pst-home-cta {
  padding: 40px 0 80px;
}

.page-premium-home .pst-cta-band {
  text-align: center;
  padding: 56px 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.page-premium-home .pst-cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #ffffff;
  margin: 0 0 12px;
}

.page-premium-home .pst-cta-band p {
  color: var(--pst-text-secondary);
  margin: 0 0 28px;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 28px;
}

/* Testimonials */
.page-premium-home .pst-home-testimonials {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-premium-home .pst-testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px 36px;
  margin: 16px 8px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.page-premium-home .pst-testimonial-card__stars {
  margin-bottom: 16px;
  color: #eab308;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.page-premium-home .pst-testimonial-card p {
  color: var(--pst-text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 24px;
}

.page-premium-home .pst-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-premium-home .pst-testimonial-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(139, 92, 246, 0.5);
  flex-shrink: 0;
}

.page-premium-home .pst-testimonial-card__author strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.page-premium-home .pst-testimonial-card__author span {
  color: var(--pst-text-muted);
  font-size: 0.8125rem;
}

/* Scroll to top */
.page-premium-home #scrollUp {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6) !important;
  color: #ffffff !important;
  z-index: 99 !important;
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  font-size: 18px !important;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}

.page-premium-home #scrollUp:hover {
  background: linear-gradient(135deg, #7c3aed, #2563eb) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
}

[dir="rtl"] .page-premium-home #scrollUp {
  right: auto;
  left: 20px;
}

@media (max-width: 768px) {
  .page-premium-home .pst-home-projects,
  .page-premium-home .pst-home-cta,
  .page-premium-home .pst-home-testimonials {
    padding: 56px 0;
  }

  .page-premium-home .pst-testimonial-card {
    padding: 24px 20px;
    margin: 12px 4px;
  }

  .page-premium-home .pst-cta-band {
    padding: 40px 20px;
  }
}

/* CTA banner before footer */
.page-premium-home .pst-cta-banner {
  padding: 40px 0 100px;
  position: relative;
  z-index: 3;
}

.page-premium-home .pst-cta-banner-box {
  position: relative;
  padding: 48px 40px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  margin-bottom: -72px;
  overflow: hidden;
}

.page-premium-home .pst-cta-banner-box__glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-premium-home .pst-cta-banner .pst-section-head p {
  margin-top: 8px;
}

@media (max-width: 991px) {
  .page-premium-home .pst-cta-banner {
    padding-bottom: 80px;
  }

  .page-premium-home .pst-cta-banner-box {
    margin-bottom: -48px;
    padding: 36px 24px;
  }
}

@media (max-width: 768px) {
  .page-premium-home .pst-cta-banner-box {
    padding: 32px 20px;
    margin-bottom: -32px;
  }

  .page-premium-home .pst-cta-banner .pst-btn-primary {
    width: 100%;
    max-width: 320px;
  }
}

.page-premium-home .premium-footer {
  padding-top: 88px;
}
