/* ============================================
   VARIABLES
============================================ */
:root {
  --pf-black: #000000;
  --pf-dark: #0a0a0a;
  --pf-white: #ffffff;
  --pf-cream: #fafafa;
  --pf-gray-1: #e8e8e8;
  --pf-gray-2: #d4d4d4;
  --pf-primary: #0066ff;
  --pf-primary-hover: #0052cc;
  --pf-text: #0a0a0a;
  --pf-text-sec: #555555;
  --pf-radius: 16px;
  --pf-radius-lg: 24px;
  --pf-radius-xl: 32px;
}

.pf-header,
.pf-header *:not(i),
.pf-portfolio-section:not(i),
.pf-portfolio-section *:not(i),
.pf-cta-section:not(i),
.pf-cta-section *:not(i) {
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  box-sizing: border-box;
}

.wrapper {
  background: var(--pf-white) !important;
}

.breadcrumbs-v1 {
  display: none !important;
}

/* ============================================
   WAVE DIVIDERS
============================================ */
.pf-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 5;
  line-height: 0;
  pointer-events: none;
}

.pf-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ============================================
   HEADER - Centered, white, clean
============================================ */
.pf-header {
  background: var(--pf-white);
  padding: 5.5rem 0 5.5rem;
  text-align: center;
  position: relative;
}

.pf-header::before {
  content: "";
  position: absolute;
  top: -180px;
  left: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 252, 0, 0.45) 0%,
    rgba(255, 214, 10, 0.22) 34%,
    rgba(255, 252, 0, 0) 74%
  );
  pointer-events: none;
}

.pf-header::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -150px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(61, 216, 245, 0.4) 0%,
    rgba(59, 130, 246, 0.2) 38%,
    rgba(103, 232, 249, 0) 76%
  );
  pointer-events: none;
}

.pf-header .container {
  position: relative;
  z-index: 1;
}

.pf-header-title:not(i) {
  font-size: clamp(4rem, 9vw, 4.5rem);
  font-weight: 800;
  color: var(--pf-text);
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 0 0 1.25rem;
  padding: 0.08em 0;
}

.pf-header-title em {
  font-style: italic;
  font-weight: 700;
  display: inline-block;
  background: linear-gradient(
    135deg,
    #ff2d55 0%,
    #ff6a00 34%,
    #ffb800 68%,
    #fff06a 100%
  );
  background-size: 260% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 10px 22px rgba(255, 122, 0, 0.18));
  animation: pfGradientShift 6s ease infinite;
}

@keyframes pfGradientShift {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.pf-header-sub {
  font-size: 22px;
  color: var(--pf-text-sec);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 820px;
}

/* ============================================
   PORTFOLIO SECTION
============================================ */
.pf-portfolio-section {
  position: relative;
  background: var(--pf-white);
  padding: 2rem 0 6rem;
}

/* ============================================
   GRID - 3 columns
============================================ */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem;
  padding-top: 2.25rem;
  border-radius: 36px;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 252, 0, 0.08) 0%,
      rgba(255, 252, 0, 0) 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(61, 216, 245, 0.1) 0%,
      rgba(61, 216, 245, 0) 40%
    ),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

/* ============================================
   CARD
============================================ */
.pf-grid-item {
  position: relative;
  margin-top: 20px;
}

.pf-grid-item::before {
  display: none;
}

.pf-grid-item::after {
  display: none;
}

.pf-grid-item:hover {
  z-index: 2;
}

.pf-grid-item:hover .pf-card {
  transform: translateY(-10px);
  border-color: rgba(180, 190, 220, 0.7);
  box-shadow:
    0 20px 40px rgba(17, 24, 39, 0.1),
    0 0 20px rgba(180, 190, 230, 0.35);
}

.pf-grid-item:hover::before {
  transform: translateY(7px);
}

.pf-grid-item:hover::after {
  transform: translateY(12px);
}

.pf-card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  border-radius: var(--pf-radius-lg);
  border: 2px solid rgba(200, 200, 210, 0.45);
  box-shadow:
    0 12px 28px rgba(17, 24, 39, 0.08),
    0 0 12px rgba(200, 200, 220, 0.25);
  overflow: hidden;
  background: var(--pf-white);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
  position: relative;
  z-index: 1;
  height: 100%;
}

.pf-card-visual {
  position: relative;
  background: transparent;
  padding: 0;
  overflow: hidden;
  height: 240px;
}

.pf-card-screen {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  width: 100%;
  height: 100%;
  max-width: none;
  flex-shrink: 0;
}

.pf-card-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-grid-item:hover .pf-card-screen img {
  transform: scale(1.04);
}

.pf-card-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.pf-card-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  transform: rotate(-45deg) translateY(-100%);
  opacity: 0;
  transition: none;
}

.pf-grid-item:hover .pf-card-shine::after {
  animation: pfHoloShine 0.7s ease forwards;
}

@keyframes pfHoloShine {
  0% {
    transform: rotate(-45deg) translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: rotate(-45deg) translateY(100%);
    opacity: 0;
  }
}

.pf-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 252, 0, 0.09) 0%,
      rgba(255, 252, 0, 0) 42%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(61, 216, 245, 0.08) 0%,
      rgba(61, 216, 245, 0) 44%
    ),
    linear-gradient(180deg, #ffffff 0%, #fdfefe 100%);
}

.pf-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--pf-text);
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
  line-height: 1.18;
}

.pf-card-desc {
  font-size: 17px;
  color: var(--pf-text-sec);
  line-height: 1.65;
  margin: 0 0 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.pf-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pf-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  transition:
    gap 0.3s ease,
    color 0.3s ease;
  margin-top: auto;
}

.pf-grid-item:hover .pf-card-link {
  gap: 12px;
  color: var(--pf-primary-hover);
}

/* ============================================
   BUTTONS
============================================ */
.pf-btn:not(i) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-btn-white {
  background: var(--pf-white);
  color: var(--pf-black);
}

.pf-btn-white:hover {
  background: var(--pf-cream);
  color: var(--pf-black);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.pf-btn-ghost {
  background: transparent;
  color: var(--pf-white);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.pf-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--pf-white);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* ============================================
   CTA SECTION
============================================ */
.pf-cta-section {
  background: var(--pf-white);
  padding: 0 0 5rem;
}

.pf-cta-section-snap {
  background: #fffc00;
  padding: 5.5rem 0;
}

.pf-cta-wrapper {
  padding-top: 20px;
}

.pf-cta-section-snap .pf-cta-wrapper {
  padding-top: 0;
}

.pf-cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--pf-primary) 0%, #4f46e5 100%);
  border-radius: var(--pf-radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  z-index: 1;
  overflow: hidden;
}

.pf-cta-section-snap .pf-cta-banner {
  background: transparent;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}

.pf-cta-banner::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  bottom: 10px;
  width: 97%;
  margin: 0 auto;
  background: linear-gradient(135deg, #3378ff 0%, #6366f1 100%);
  border-radius: var(--pf-radius-xl);
  z-index: -1;
}

.pf-cta-banner::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  bottom: 20px;
  width: 93%;
  margin: 0 auto;
  background: linear-gradient(135deg, #5c94ff 0%, #8183f4 100%);
  border-radius: var(--pf-radius-xl);
  z-index: -2;
}

.pf-cta-section-snap .pf-cta-banner::before,
.pf-cta-section-snap .pf-cta-banner::after {
  display: none;
}

.pf-cta-banner h2 {
  color: var(--pf-white);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  position: relative;
  z-index: 2;
}

.pf-cta-section-snap .pf-cta-banner h2 {
  color: #000;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.pf-cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.pf-cta-section-snap .pf-cta-banner p {
  color: rgba(0, 0, 0, 0.78);
  font-size: 19px;
  line-height: 1.7;
  max-width: 720px;
}

.pf-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.pf-cta-section-snap .pf-btn-white {
  background: #000;
  color: #fff;
}

.pf-cta-section-snap .pf-btn-white:hover {
  background: #111;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.pf-cta-section-snap .pf-btn-ghost {
  background: transparent;
  color: #000;
  border-color: rgba(0, 0, 0, 0.18);
}

.pf-cta-section-snap .pf-btn-ghost:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #000;
  border-color: rgba(0, 0, 0, 0.35);
}

/* ============================================
   SCROLL ANIMATIONS
============================================ */
.pf-animate {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-pf-enabled .pf-animate {
  opacity: 0;
  transform: translateY(30px);
}

.js-pf-enabled .pf-animate.pf-visible {
  opacity: 1;
  transform: translateY(0);
}

.pf-delay-1 {
  transition-delay: 0.1s;
}
.pf-delay-2 {
  transition-delay: 0.2s;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (min-width: 768px) {
  .pf-wave svg {
    height: 80px;
  }
}

@media (min-width: 1200px) {
  .pf-wave svg {
    height: 100px;
  }
}

@media (max-width: 991.98px) {
  .pf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    padding: 1.5rem;
  }
  .pf-header {
    padding: 4.5rem 0 5rem;
  }
}

@media (max-width: 767.98px) {
  .pf-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pf-header-title {
    font-size: 3.1rem;
  }
  .pf-header-sub {
    font-size: 1.2rem;
  }
  .pf-card-visual {
    padding: 0;
    height: 200px;
  }
  .pf-card-body {
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .pf-card-title {
    font-size: 1.25rem;
  }
  .pf-card-desc {
    font-size: 16px;
  }
  .pf-cta-banner {
    padding: 3rem 1.5rem;
  }
  .pf-cta-section-snap {
    padding: 4rem 0;
  }
  .pf-cta-section-snap .pf-cta-banner {
    padding: 0;
  }
  .pf-cta-buttons {
    flex-direction: column;
  }
  .pf-cta-buttons .pf-btn {
    width: 100%;
  }
  .pf-portfolio-section {
    padding: 1.5rem 0 5rem;
  }
  .pf-btn {
    padding: 14px 28px;
    font-size: 0.9375rem;
  }
}

@media (max-width: 575.98px) {
  .pf-header-title {
    font-size: 2.5rem;
  }
  .pf-header {
    padding: 3.5rem 0 4.5rem;
  }
  .pf-header-sub {
    font-size: 1.08rem;
  }
  .pf-grid {
    padding: 1rem;
    border-radius: 24px;
  }
  .pf-cta-section-snap .pf-cta-banner h2 {
    line-height: 1;
  }
  .pf-cta-section-snap .pf-cta-banner p {
    font-size: 17px;
  }
}

.header-v6 {
  background: var(--pf-white) !important;
}
