﻿/* =========================================
   PIXI WEB - CUSTOM STYLES
   Modern, Professional, Creative Design
   ========================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");

/* === CSS Variables === */
:root {
  --pixi-black: #000000;
  --pixi-charcoal: #1a1a1a;
  --pixi-gold: #d4af37;
  --pixi-light-gold: #e6c99a;
  --pixi-navy: #0a0e1a;
  --pixi-dark-navy: #050810;
  --pixi-white: #ffffff;
  --pixi-gray: #8a8a8a;

  /* Gradients */
  --gradient-dark: linear-gradient(135deg,
      #000000 0%,
      #1a1a1a 50%,
      #0a0e1a 100%);
  --gradient-gold: linear-gradient(135deg, #d4af37 0%, #e6c99a 100%);
  --gradient-glass: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 100%);

  /* Spacing */
  --section-padding: 8rem 0;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === Base Styles === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--pixi-black);
  color: var(--pixi-white);
}

a {
  color: var(--pixi-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--pixi-light-gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: "Inter", sans-serif;
  background: none;
  border: none;
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.pixi-web {
  font-family: "Inter", sans-serif;
  background: var(--pixi-black);
  color: var(--pixi-white);
  overflow-x: hidden;
}

.pixi-web h1,
.pixi-web h2,
.pixi-web h3 {
  font-family: "Space Grotesk", sans-serif;
}

/* === NAV / HEADER (copied from style.css, scoped to Pixi page) === */
.pixi-web header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 5%;
  width: 100%;
  z-index: 3;
  height: auto;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  letter-spacing: 0.4em;
  top: 3%;
  background: transparent;
}

.pixi-web header .navbar {
  position: fixed;
  top: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 5;
}

.pixi-web header .nav-logo {
  height: 80px;
}

.pixi-web header .nav-logo img {
  height: 100%;
  width: auto;
  transition: all 0.3s ease;
}

.pixi-web header .nav-logo:hover img {
  transform: scale(1.05);
}

.pixi-web header .social-icon {
  font-size: clamp(1.2rem, 2.5vw, 2.2rem);
  color: var(--pixi-white);
  transition: all 0.3s ease;
}

.pixi-web header .social-icon:hover {
  color: var(--pixi-gold);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .pixi-web header .navbar {
    top: 20px;
  }

  .pixi-web header .nav-logo {
    height: 80px;
  }

  .pixi-web header .social-icon {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  }
}

.pixi-web header .logo {
  width: clamp(120px, 25vw, 20%);
  filter: invert(1);
  transition: all var(--transition-smooth) ease;
  display: none !important;
}

.pixi-web .logo-container {
  position: fixed;
  left: 5%;
  top: 90%;
  transform: translateY(-50%);
  z-index: 101;
  cursor: pointer;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: none;
}

.pixi-web .logo-half {
  position: absolute;
  max-width: 30px;
  max-height: 30px;
  z-index: 3;
}

.pixi-web .logo-left {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: none;
}

.pixi-web .logo-right {
  left: 35px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.pixi-web .menu.open~.logo-container .logo-right {
  transform: translateX(20px);
  opacity: 0;
}

.pixi-web .menu:not(.open)~.logo-container .logo-right {
  transform: translateX(0);
  opacity: 1;
}

@media (max-width: 600px) {
  .pixi-web .logo-container {
    left: 10px;
    /* keep circle same as desktop (60px) */
    width: 60px;
    height: 60px;
  }

  .pixi-web .logo-half {
    /* enlarge the inner logo images so they sit bigger inside the circle */
    max-width: 34px;
    max-height: 34px;
  }

  .pixi-web .logo-left {
    left: 10px;
  }

  .pixi-web .logo-right {
    left: 33px;
  }

  .pixi-web .menu.open~.logo-container .logo-right {
    transform: translateX(15px);
  }
}

/* === Menu Panel === */
.pixi-web .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 70vw;
  height: 100vh;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(26, 26, 26, 0.9) 50%,
      rgba(0, 0, 0, 0.95) 100%);
  backdrop-filter: blur(30px) saturate(120%) brightness(0.8);
  -webkit-backdrop-filter: blur(30px) saturate(120%) brightness(0.8);
  border: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  z-index: 4;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: 70vw !important;
  min-width: unset;
  max-width: unset;
  left: 0;
  right: auto;
}

.pixi-web .menu.open {
  transform: translateX(0);
}

.pixi-web .menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px),
    radial-gradient(circle at 40% 20%,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px),
    radial-gradient(circle at 80% 80%,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px);
  background-size: 50px 50px, 30px 30px, 70px 70px;
  background-position: 0 0, 25px 25px, 35px 35px;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

.pixi-web .menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .pixi-web .menu ul {
    padding-left: 60px;
    padding-right: 2rem;
  }
}

@media (max-width: 480px) {
  .pixi-web .menu ul {
    padding-left: 40px;
    padding-right: 1.5rem;
  }
}

.pixi-web .menu li {
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.pixi-web .menu.open li {
  opacity: 1;
  transform: translateY(0);
}

.pixi-web .menu.open li:nth-child(1) {
  transition-delay: 0.1s;
}

.pixi-web .menu.open li:nth-child(2) {
  transition-delay: 0.2s;
}

.pixi-web .menu.open li:nth-child(3) {
  transition-delay: 0.3s;
}

.pixi-web .menu.open li:nth-child(4) {
  transition-delay: 0.4s;
}

.pixi-web .menu.open li:nth-child(5) {
  transition-delay: 0.5s;
}

.pixi-web .menu a {
  color: var(--pixi-white);
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  letter-spacing: clamp(0.05em, 0.1vw, 0.1em);
  padding: clamp(0.25rem, 1vw, 0.4rem) clamp(0.5rem, 2vw, 0.8rem);
  transition: all 0.3s ease;
  border-radius: 12px;
}

.pixi-web .menu a:hover {
  color: var(--pixi-gold);
  transform: translateY(-2px);
}

.pixi-web .menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--pixi-gold);
  transition: width 0.3s ease;
}

.pixi-web .menu a:hover::after {
  width: 100%;
}

.pixi-web .menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 999;
  background: none !important;
  border: none;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  transform: translateZ(0);
}

@media (max-width: 600px) {
  .pixi-web .menu-close {
    width: 20px;
    height: 20px;
    top: 20px;
    right: 20px;
  }
}

.pixi-web .menu-close:hover {
  transform: translateZ(0) scale(1.1) rotate(90deg);
  opacity: 0.8;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

.pixi-web .menu-close:active {
  transform: translateZ(0) scale(0.95) rotate(90deg);
  transition: all 0.1s;
}

.pixi-web .menu-close:focus {
  outline: none;
}

.pixi-web .menu-close img {
  width: 100%;
  height: 100%;
  display: block;
  transition: filter 0.3s, box-shadow 0.3s, transform 0.3s;
}

.pixi-web .menu-close:hover img,
.pixi-web .menu-close:focus img {
  filter: drop-shadow(0 0 8px var(--pixi-gold)) drop-shadow(0 0 16px #fff);
  box-shadow: 0 0 16px 4px var(--pixi-gold),
    0 0 32px 8px rgba(255, 255, 255, 0.2);
  transform: scale(1.15) rotate(90deg);
}

.pixi-web .menu-close:active img {
  transform: scale(0.95) rotate(90deg);
}

.pixi-web .contact-icons {
  display: flex;
  justify-content: center;
  gap: 1.2em;
  margin-top: 0.5em;
}

.pixi-web .icon-gold {
  font-size: 1.7em;
  color: var(--pixi-gold);
}

/* Logo border glow (copied) */
.pixi-web .logo-menu-border {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  z-index: 2;
  pointer-events: none;
  background: none !important;
  box-shadow: none !important;
  border-radius: 50%;
  overflow: visible;
}

.pixi-web .logo-menu-border svg,
.pixi-web .logo-menu-border circle {
  background: none !important;
  box-shadow: none !important;
  border-radius: 50%;
  overflow: visible;
}

.pixi-web .logo-menu-glow {
  stroke: #fff;
  stroke-width: 3;
  filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 16px #fff) drop-shadow(0 0 24px #fff);
  stroke-dasharray: 25 138.36;
  stroke-dashoffset: 163.36;
  animation: logoMenuGlowAnim 2.5s linear infinite;
  stroke-linecap: round;
  opacity: 1;
}

@keyframes logoMenuGlowAnim {
  0% {
    stroke-dashoffset: 163.36;
    opacity: 0.8;
  }

  25% {
    opacity: 1;
  }

  50% {
    opacity: 0.9;
  }

  75% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0.8;
  }
}

/* === Particle Canvas Background === */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* === Hero Section === */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #000000 100%);
  overflow: hidden;
  padding: 8rem 2rem 4rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%,
      rgba(212, 175, 55, 0.08) 0%,
      transparent 50%);
  animation: rotateBg 20s linear infinite;
  pointer-events: none;
}

@keyframes rotateBg {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hero-content {
  text-align: center;
  max-width: 1000px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pixi-character {
  margin-bottom: 2.5rem;
  display: inline-block;
  position: relative;
}

.pixi-character::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle,
      rgba(212, 175, 55, 0.15) 0%,
      transparent 60%);
  filter: blur(40px);
  z-index: -1;
  opacity: 0;
  /* Will be animated by GSAP */
}

.pixi-image {
  width: 280px;
  max-width: 55vw;
  height: auto;
  overflow: visible;
  display: inline-block;
  /* No card bg - clean image */
  background: transparent;
  border: none;
  box-shadow: none;
  /* Animation handled by GSAP - start hidden */
  opacity: 0;
  transform: translateX(-80px);
}

.pixi-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.5s ease;
}

.pixi-image:hover img {
  transform: scale(1.08) rotate(2deg);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.2));
}

.hero-heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin: 0 0 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #e6c99a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  letter-spacing: -0.02em;
  /* GSAP handles entrance */
  opacity: 0;
  transform: translateY(40px);
}

.hero-subtext {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--pixi-gray);
  margin: 0 0 1.5rem;
  font-weight: 300;
  max-width: 600px;
  line-height: 1.7;
  /* GSAP handles entrance */
  opacity: 0;
  transform: translateY(30px);
}

.pixi-narration {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--pixi-gold);
  margin: 0 0 2rem;
  font-weight: 400;
  position: relative;
  display: inline-block;
  /* GSAP handles entrance */
  opacity: 0;
  transform: translateY(30px);
}

.pixi-narration::before,
.pixi-narration::after {
  content: '"';
  color: rgba(212, 175, 55, 0.5);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.8rem;
  background: linear-gradient(135deg, var(--pixi-gold) 0%, #b8860b 100%);
  color: #000;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2),
    0 0 0 0 rgba(212, 175, 55, 0.5);
  position: relative;
  overflow: hidden;
  /* GSAP handles entrance */
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.hero-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transition: 0.5s;
}

.hero-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3),
    0 0 0 4px rgba(212, 175, 55, 0.1);
}

.hero-cta:hover::before {
  left: 100%;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  /* GSAP handles entrance */
  opacity: 0;
}

.scroll-indicator i {
  font-size: 1.2rem;
  color: var(--pixi-gold);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* === Responsive: Side-by-side layout for larger screens === */
@media screen and (min-width: 900px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    padding: 0 2rem;
  }

  .pixi-character {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .pixi-image {
    width: 320px;
    max-width: none;
    /* Slide from left - GSAP will animate x */
    transform: translateX(-100px);
  }

  .hero-text {
    text-align: left;
    max-width: 600px;
    flex: 1 1 auto;
  }

  .hero-heading,
  .hero-subtext,
  .pixi-narration {
    text-align: left;
  }

  .hero-cta {
    align-self: flex-start;
  }
}

@media screen and (min-width: 1200px) {
  .hero-content {
    gap: 5rem;
  }

  .pixi-image {
    width: 380px;
  }
}

/* === Introduction Section === */
.intro-section {
  padding: var(--section-padding);
  background: var(--pixi-charcoal);
  position: relative;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--pixi-white);
}

.section-subtext {
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-align: center;
  color: var(--pixi-gray);
  margin-bottom: 4rem;
}

/* === Services Overview Section (New Card Layout) === */
.services-overview-section {
  padding: 6rem 0;
  background: linear-gradient(180deg,
      var(--pixi-charcoal) 0%,
      var(--pixi-black) 100%);
  position: relative;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem;
  margin-bottom: 4rem;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  /* GSAP animation ready */
  opacity: 0;
  transform: translateY(60px);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 0% 0%,
      rgba(212, 175, 55, 0.08) 0%,
      transparent 50%);
  pointer-events: none;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.service-card:nth-child(even) {
  direction: rtl;
}

.service-card:nth-child(even)>* {
  direction: ltr;
}

.service-card:last-child {
  margin-bottom: 0;
}

.service-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg,
      rgba(212, 175, 55, 0.2) 0%,
      rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--pixi-gold);
  transition: all 0.4s ease;
}

.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.service-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--pixi-gold);
  font-weight: 600;
}

.service-card-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0;
  color: var(--pixi-white);
  line-height: 1.1;
}

.service-card-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--pixi-gray);
  line-height: 1.7;
  margin: 0;
}

.service-card-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1rem 0;
}

.service-detail-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
}

.detail-label {
  font-size: 0.9rem;
  color: var(--pixi-gold);
  font-weight: 600;
  min-width: 80px;
}

.detail-value {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.pixi-whisper {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-style: italic;
  color: var(--pixi-light-gold);
  margin: 1rem 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--pixi-gold);
  opacity: 0.9;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pixi-gold);
  text-decoration: none;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.read-more-link .arrow {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.read-more-link:hover {
  color: var(--pixi-light-gold);
}

.read-more-link:hover .arrow {
  transform: translateX(8px);
}

.service-card-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.service-card-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .service-card-visual img {
  transform: scale(1.05);
}

/* Responsive: Stack on mobile */
@media (max-width: 968px) {
  .service-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .service-card:nth-child(even) {
    direction: ltr;
  }

  .service-card-visual {
    order: -1;
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .service-card-icon {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }
}

.superpower-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.power-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.power-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  position: relative;
}

.power-card-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--pixi-charcoal), transparent);
  pointer-events: none;
}

.power-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.power-card:hover .power-card-img img {
  transform: scale(1.1);
}

.power-card h3 {
  font-size: 1.6rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--pixi-white);
  padding: 0 1.5rem;
}

.power-card-text {
  color: var(--pixi-gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  padding: 0 1.5rem;
  line-height: 1.6;
}

.power-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pixi-gold);
  padding: 0 1.5rem 1.5rem;
}

.power-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-gold);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: -1;
}

.power-card:hover {
  transform: translateY(-10px);
  border-color: var(--pixi-gold);
}

.power-card:hover::before {
  opacity: 0.1;
}

.power-card-cta::after {
  content: "\2192";
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.power-card-cta:hover::after {
  transform: translateX(4px);
}

/* === Service Sections === */
.service-section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.pixisite-section {
  background: var(--pixi-dark-navy);
}

.pixiapp-section {
  background: var(--pixi-black);
}

.pixiai-section {
  background: var(--pixi-charcoal);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-content.reverse {
  direction: rtl;
}

.service-content.reverse>* {
  direction: ltr;
}

.service-visual {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Showcase Gallery === */
.showcase-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.2);
  /* GSAP animation ready */
  opacity: 0;
  transform: translateY(40px);
}

.showcase-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.showcase-main:hover .showcase-img {
  transform: scale(1.03);
}

.showcase-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stack-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  /* GSAP animation ready */
  opacity: 0;
  transform: translateY(20px);
}

.stack-img:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--pixi-gold);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

/* === AI Showcase === */
.ai-showcase {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-main-visual {
  position: relative;
  z-index: 2;
  /* GSAP animation ready */
  opacity: 0;
  transform: scale(0.9);
}

.ai-img {
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s ease;
}

.ai-main-visual:hover .ai-img {
  transform: scale(1.05);
}

.ai-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ai-particles .particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--pixi-gold);
  border-radius: 50%;
  opacity: 0;
}

.ai-particles .particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: particleFloat 3s ease-in-out infinite;
}

.ai-particles .particle:nth-child(2) {
  top: 60%;
  left: 5%;
  animation: particleFloat 4s ease-in-out 0.5s infinite;
}

.ai-particles .particle:nth-child(3) {
  top: 80%;
  right: 15%;
  animation: particleFloat 3.5s ease-in-out 1s infinite;
}

.ai-particles .particle:nth-child(4) {
  top: 30%;
  right: 10%;
  animation: particleFloat 4.5s ease-in-out 0.3s infinite;
}

.ai-particles .particle:nth-child(5) {
  top: 50%;
  right: 5%;
  animation: particleFloat 3s ease-in-out 0.8s infinite;
}

@keyframes particleFloat {

  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }

  50% {
    opacity: 0.8;
    transform: translateY(-20px) scale(1);
  }
}

.chat-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chat-bubbles .chat-bubble {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.8rem 1.2rem;
  border-radius: 16px;
  font-size: 0.85rem;
  color: var(--pixi-white);
  white-space: nowrap;
  /* GSAP animation ready */
  opacity: 0;
}

.chat-bubbles .chat-bubble.left {
  top: 25%;
  left: 0;
  border-bottom-left-radius: 4px;
}

.chat-bubbles .chat-bubble.right {
  bottom: 25%;
  right: 0;
  border-bottom-right-radius: 4px;
}

/* Old floating elements removed, keeping service info */

.service-info {
  padding: 2rem 0;
}

.service-heading {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--pixi-white);
}

.service-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--pixi-gray);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.pixi-quote {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-style: italic;
  color: var(--pixi-light-gold);
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--pixi-gold);
}

.services-list,
.products-list {
  margin: 2.5rem 0;
}

.services-list h3,
.products-list h3 {
  font-size: 1.3rem;
  color: var(--pixi-gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.services-list ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--pixi-white);
  font-size: 1rem;
}

.services-list li i {
  color: var(--pixi-gold);
  font-size: 0.8rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.product-tag {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--gradient-glass);
  border: 1px solid var(--pixi-gold);
  border-radius: 25px;
  font-size: 0.95rem;
  color: var(--pixi-white);
  backdrop-filter: blur(5px);
  transition: var(--transition-smooth);
}

.product-tag:hover {
  background: var(--gradient-gold);
  color: var(--pixi-black);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* === CTA Section === */
.cta-section {
  padding: var(--section-padding);
  background: var(--gradient-dark);
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%,
      rgba(212, 175, 55, 0.15) 0%,
      transparent 70%);
  pointer-events: none;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.pixi-cta-visual {
  margin-bottom: 2.5rem;
  /* GSAP animation ready */
  opacity: 0;
  transform: translateY(30px);
}

.cta-mascot-img {
  max-width: 200px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(212, 175, 55, 0.3));
  transition: transform 0.5s ease;
  animation: ctaFloat 4s ease-in-out infinite;
}

@keyframes ctaFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.cta-mascot-img:hover {
  transform: scale(1.1);
}

.cta-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--pixi-white);
  /* GSAP animation ready */
  opacity: 0;
  transform: translateY(20px);
}

.cta-subtext {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--pixi-gray);
  margin-bottom: 1.5rem;
}

.pixi-cta-quote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--pixi-light-gold);
  margin-bottom: 3rem;
}

/* === Form Styles === */
.pixi-form {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group i {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pixi-gold);
  font-size: 1.1rem;
  pointer-events: none;
}

.form-group textarea+i {
  top: 1.5rem;
  transform: none;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1.5rem 1.2rem 3.5rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: var(--pixi-white);
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pixi-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  background: rgba(0, 0, 0, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--pixi-gray);
}

.submit-btn {
  width: 100%;
  padding: 1.3rem 2rem;
  background: var(--gradient-gold);
  border: none;
  border-radius: 50px;
  color: var(--pixi-black);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  margin-top: 1rem;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.submit-btn:active {
  transform: translateY(0);
}

/* === Footer === */
.minimal-footer {
  background: var(--pixi-black);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  text-align: center;
  margin-bottom: 1.5rem;
}

.footer-link {
  color: var(--pixi-gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  padding: 0 0.5rem;
}

.footer-link:hover {
  color: var(--pixi-gold);
}

.footer-text {
  text-align: center;
  color: var(--pixi-gray);
  font-size: 0.9rem;
}

/* === Responsive Design === */
@media (max-width: 968px) {
  .service-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-content.reverse {
    direction: ltr;
  }

  .service-visual {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
  }

  .hero-section {
    padding: 1rem;
  }

  .pixi-image {
    width: 120px;
    height: auto;
    font-size: 3rem;
  }

  .superpower-cards {
    grid-template-columns: 1fr;
  }

  .pixi-mascot {
    width: 150px;
    height: 150px;
    font-size: 4rem;
  }

  .pixi-form {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .power-card {
    padding: 2rem 1.5rem;
  }

  .services-list ul {
    grid-template-columns: 1fr;
  }
}

/* === Utility Classes === */
.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

/* === Navbar Controls & Theme Toggle === */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 40px;
}

.theme-toggle-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--pixi-white);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.theme-toggle-btn:hover {
  color: var(--pixi-gold);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .nav-controls {
    gap: 20px;
  }
}


/* === LIGHT MODE STYLES === */
body.light-mode {
  background: #ffffff;
  color: #1a1a1a;
}

body.light-mode .pixi-web {
  background: #ffffff;
  color: #1a1a1a;
}

/* Header & Nav */
body.light-mode header .nav-logo img {
  filter: invert(1);
  /* Make white logo black */
}

body.light-mode header .social-icon,
body.light-mode .theme-toggle-btn {
  color: #1a1a1a;
}

body.light-mode header .social-icon:hover,
body.light-mode .theme-toggle-btn:hover {
  color: var(--pixi-gold);
}

body.light-mode .logo-container .logo-half {
  filter: invert(1);
}

body.light-mode .logo-menu-border circle {
  stroke: #1a1a1a;
  stroke: rgba(0, 0, 0, 0.2);
}

body.light-mode .logo-menu-glow {
  stroke: #000;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
}

/* Hero Section */
body.light-mode .hero-section {
  background: radial-gradient(circle at 50% 0%, #f4f4f4 0%, #e0e0e0 100%);
}

body.light-mode .hero-section::before {
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

body.light-mode .hero-heading {
  background: linear-gradient(180deg, #000000 0%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .hero-subtext {
  color: #333;
}

body.light-mode .scroll-indicator {
  color: rgba(0, 0, 0, 0.5);
}

/* Services Section */
body.light-mode .services-overview-section {
  background: #f9f9f9;
}

body.light-mode .service-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light-mode .service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--pixi-gold);
}

body.light-mode .service-card-title {
  color: #000;
}

body.light-mode .service-card-desc {
  color: #444;
}

body.light-mode .detail-label {
  color: #666;
}

body.light-mode .detail-value {
  color: #222;
}

body.light-mode .pixi-whisper {
  background: rgba(212, 175, 55, 0.1);
  color: #8b6914;
  /* Darker gold for readability */
  border: 1px solid rgba(212, 175, 55, 0.2);
}

body.light-mode .read-more-link {
  background: #f0f0f0;
  color: #333;
}

body.light-mode .read-more-link:hover {
  background: var(--pixi-gold);
  color: #fff;
}

/* CTA Section */
body.light-mode .cta-section {
  background: #ffffff;
}

body.light-mode .cta-heading {
  color: #000;
}

body.light-mode .cta-subtext {
  color: #444;
}

body.light-mode .pixi-cta-quote {
  color: var(--pixi-gold);
}

body.light-mode .pixi-form {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
  background: #f4f4f4;
  color: #000;
  border-color: #ddd;
}

body.light-mode .form-group i {
  color: #888;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus {
  background: #fff;
  border-color: var(--pixi-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

/* Footer */
body.light-mode .minimal-footer {
  background: #f0f0f0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .footer-link {
  color: #333;
}

body.light-mode .footer-link:hover {
  color: var(--pixi-gold);
}

body.light-mode .footer-text {
  color: #666;
}