/* =========================================
   PIXISITE - HANDCRAFTED THEME
   ========================================= */

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

/* === CSS Variables === */
:root {
  --pixi-black: #050505;
  --pixi-charcoal: #121212;
  --pixi-gold: #ffd700;
  /* Brighter gold for sketch effect */
  --pixi-light-gold: #ffe55c;
  --pixi-white: #f0f0f0;
  /* Slightly off-white for paper feel */
  --pixi-gray: #a0a0a0;

  /* Theme Specific */
  --paper-texture: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+");
  --sketch-border: 2px solid var(--pixi-gold);
  --sketch-shadow: 4px 4px 0px rgba(255, 215, 0, 0.2);

  --section-padding: 8rem 0;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--pixi-black);
  background-image: var(--paper-texture);
  color: var(--pixi-white);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

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

/* Sketchy Underline for Links */
a:not(.btn):not(.nav-logo):not(.social-icon):hover::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--pixi-gold);
  clip-path: polygon(0% 40%,
      15% 10%,
      30% 60%,
      45% 20%,
      60% 70%,
      75% 10%,
      90% 50%,
      100% 0%,
      100% 100%,
      0% 100%);
  animation: sketchLine 0.3s forwards;
}

@keyframes sketchLine {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

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

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

.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

/* === NAV / HEADER (copied from web-solutions.css) === */
.pixisite-page 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;
}

.pixisite-page 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;
}

.pixisite-page header .nav-logo {
  height: 80px;
}

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

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

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

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

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

  .pixisite-page header .nav-logo {
    height: 80px;
  }

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

.pixisite-page header .logo {
  width: clamp(120px, 25vw, 20%);
  filter: invert(1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) ease;
  display: none !important;
}

.pixisite-page .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;
}

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

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

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

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

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

@media (max-width: 600px) {

  /* Keep the outer circle size unchanged on small screens
     and increase the inner logo image halves so they appear larger
     while the circular border remains the same. */
  .pixisite-page .logo-container {
    left: 10px;
    /* keep circle same as desktop (60px) */
    width: 60px;
    height: 60px;
  }

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

  .pixisite-page .logo-left {
    left: 10px;
  }

  .pixisite-page .logo-right {
    left: 33px;
  }

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

/* === Menu Panel === */
.pixisite-page .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;
}

.pixisite-page .menu.open {
  transform: translateX(0);
}

.pixisite-page .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;
}

.pixisite-page .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) {
  .pixisite-page .menu ul {
    padding-left: 60px;
    padding-right: 2rem;
  }
}

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

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

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

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

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

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

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

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

.pixisite-page .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;
}

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

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

.pixisite-page .menu a:hover::after {
  width: 100%;
}

.pixisite-page .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) {
  .pixisite-page .menu-close {
    width: 20px;
    height: 20px;
    top: 20px;
    right: 20px;
  }
}

.pixisite-page .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));
}

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

.pixisite-page .menu-close:focus {
  outline: none;
}

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

.pixisite-page .menu-close:hover img,
.pixisite-page .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);
}

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

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

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

/* Logo border glow */
.pixisite-page .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;
}

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

.pixisite-page .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;
  }
}

/* === HERO SECTION === */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

/* Background Doodles */
.hero-bg-doodle {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
}

.doodle-1 {
  top: 10%;
  left: 5%;
  width: 200px;
  transform: rotate(-10deg);
}

.doodle-2 {
  bottom: 15%;
  right: 5%;
  width: 250px;
  transform: rotate(15deg);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 2;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.pixi-sketch-wrapper {
  position: relative;
  width: 400px;
  max-width: 100%;
}

.pixi-img {
  width: 100%;
  filter: grayscale(100%) contrast(120%);
  transition: filter 0.5s ease;
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTAgMTBoMTgwdjE4MEgxMHoiLz48L3N2Zz4=");
  /* Placeholder mask */
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.pixi-sketch-wrapper:hover .pixi-img {
  filter: grayscale(0%) contrast(100%);
}

/* SVG Sketch Overlay */
.sketch-overlay {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  pointer-events: none;
}

.sketch-path {
  fill: none;
  stroke: var(--pixi-gold);
  stroke-width: 3;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  stroke-linecap: round;
}

.hero-text {
  text-align: left;
}

.hero-label {
  font-family: "Kalam", cursive;
  color: var(--pixi-gold);
  font-size: 1.5rem;
  transform: rotate(-2deg);
  display: inline-block;
  margin-bottom: 1rem;
}

.hero-heading {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
  margin-bottom: 1.5rem;
  position: relative;
}

.highlight-text {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight-text::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: -5%;
  width: 110%;
  height: 30%;
  background: var(--pixi-gold);
  z-index: -1;
  opacity: 0.6;
  transform: skewX(-10deg);
  border-radius: 4px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--pixi-gray);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.cta-btn {
  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;
}

.cta-btn::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;
}

.cta-btn: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);
}

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

/* === WHY SECTION (Bento Sketch) === */
.why-section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
}

.section-title span {
  border-bottom: 3px solid var(--pixi-gold);
  border-radius: 50%;
}

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

.bento-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

/* Hand-drawn borders using clip-path or border-image is complex, using pseudo-elements for corners */
.bento-card::before,
.bento-card::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--pixi-gold);
  transition: all 0.3s ease;
}

.bento-card::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.bento-card::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

.bento-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 215, 0, 0.05);
}

.bento-card:hover::before,
.bento-card:hover::after {
  width: 100%;
  height: 100%;
}

.bento-icon {
  font-size: 2.5rem;
  color: var(--pixi-gold);
  margin-bottom: 1.5rem;
}

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.bento-card p {
  color: var(--pixi-gray);
  line-height: 1.6;
}

/* === Navbar Controls & Theme Toggle (Unified) === */
.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-color: #f9f9f9;
  background-image: none;
  /* Remove dark paper texture if specific one needed, or swap */
  color: #1a1a1a;
}

/* Update Vars locally for light mode could also work, but direct overrides are safer for specificity here */
body.light-mode {
  --pixi-white: #1a1a1a;
  --pixi-gray: #555;
}

body.light-mode header .nav-logo img {
  filter: invert(1);
}

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

body.light-mode .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: 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 Light */
body.light-mode .hero-bg-doodle path,
body.light-mode .hero-bg-doodle circle,
body.light-mode .hero-bg-doodle rect {
  stroke: rgba(212, 175, 55, 0.4);
  /* Softer gold on white */
}

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

body.light-mode .highlight-text::after {
  opacity: 0.3;
  /* Softer highlight */
}

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

/* Bento Cards Light */
body.light-mode .bento-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 .bento-card::before,
body.light-mode .bento-card::after {
  border-color: var(--pixi-gold);
}

body.light-mode .bento-card:hover {
  background: #fffdf0;
  /* Very light gold tint */
}

body.light-mode .bento-card h3 {
  color: #000;
}

body.light-mode .bento-card p {
  color: #555;
}

/* Services Light */
body.light-mode .services-section {
  background-color: #f9f9f9;
  color: #1a1a1a;
}

body.light-mode .services-section::before {
  background: #f9f9f9;
}

body.light-mode .service-item {
  color: #1a1a1a;
}

body.light-mode .service-item h3 {
  color: #000;
}

body.light-mode .service-item p {
  color: #555;
}

body.light-mode .service-icon {
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* Products Light */
body.light-mode .products-section {
  background-color: #ffffff;
  color: #1a1a1a;
}

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

body.light-mode .product-card h3 {
  color: #000;
}

body.light-mode .product-card p {
  color: #555;
}

body.light-mode .product-features li {
  color: #444;
}

/* Process Light */
body.light-mode .process-section {
  background-color: #f9f9f9;
  color: #1a1a1a;
}

body.light-mode .step-content {
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .process-step:nth-child(odd) .step-content::after {
  border-left-color: #ffffff;
}

body.light-mode .process-step:nth-child(even) .step-content::after {
  border-right-color: #ffffff;
}

body.light-mode .process-line {
  background: rgba(0, 0, 0, 0.1);
}

body.light-mode .step-marker {
  background: #fff;
  border: 2px solid var(--pixi-gold);
  color: #000;
}

body.light-mode .step-content h3 {
  color: #000;
}

body.light-mode .step-content p {
  color: #555;
}

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

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

body.light-mode .minimal-footer p {
  color: #666 !important;
}

.card-large {
  grid-column: span 2;
}

.card-tall {
  grid-row: span 2;
}

/* === SERVICES SECTION === */
.services-section {
  padding: var(--section-padding);
  background: var(--pixi-charcoal);
  position: relative;
}

/* Paper torn edge effect top */
.services-section::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 40px;
  background: var(--pixi-charcoal);
  clip-path: polygon(0% 50%,
      5% 0%,
      10% 50%,
      15% 0%,
      20% 50%,
      25% 0%,
      30% 50%,
      35% 0%,
      40% 50%,
      45% 0%,
      50% 50%,
      55% 0%,
      60% 50%,
      65% 0%,
      70% 50%,
      75% 0%,
      80% 50%,
      85% 0%,
      90% 50%,
      95% 0%,
      100% 50%,
      100% 100%,
      0% 100%);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.service-item {
  flex: 1 1 300px;
  text-align: center;
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:hover .service-icon {
  transform: scale(1.2) rotate(10deg);
  color: var(--pixi-white);
}

.service-icon {
  font-size: 3rem;
  color: var(--pixi-gold);
  margin-bottom: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* === PRODUCTS SECTION === */
.products-section {
  padding: var(--section-padding);
}

.product-card {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.product-card.featured {
  border: 2px solid var(--pixi-gold);
  background: #222;
}

.product-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--pixi-gold);
  color: #000;
  padding: 0.5rem 3rem;
  transform: rotate(45deg);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.product-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-features i {
  color: var(--pixi-gold);
}

/* === PROCESS SECTION (Timeline) === */
.process-section {
  padding: var(--section-padding);
}

.process-steps {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-content {
  width: 45%;
  background: #151515;
  padding: 2rem;
  border-radius: 10px;
  position: relative;
}

/* Speech bubble tail */
.process-step:nth-child(odd) .step-content::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #151515;
  transform: translateY(-50%);
}

.process-step:nth-child(even) .step-content::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #151515;
  transform: translateY(-50%);
}

.step-marker {
  width: 40px;
  height: 40px;
  background: var(--pixi-black);
  border: 2px solid var(--pixi-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-weight: 700;
  color: var(--pixi-gold);
}

/* === FOOTER === */
.minimal-footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
  margin: 0 10px;
  color: var(--pixi-gray);
  font-size: 0.9rem;
}

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

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .card-large,
  .card-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .process-line {
    left: 20px;
  }

  .process-step {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 50px;
  }

  .process-step:nth-child(even) {
    flex-direction: column;
  }

  .step-marker {
    position: absolute;
    left: 0;
    top: 0;
  }

  .step-content {
    width: 100%;
  }

  .step-content::after {
    display: none;
  }
}
/* === FOOTER STYLES === */
.minimal-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-links a {
  color: var(--pixi-gray);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links a:hover {
  color: var(--pixi-gold);
}
