/* Shhhh I'm using three different fonts, but i don't care */
@import url("https://fonts.cdnfonts.com/css/longsile");
@import url("https://fonts.cdnfonts.com/css/thegoodmonolith");
@import url("https://fonts.cdnfonts.com/css/pp-neue-montreal");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Performance optimization: Reduce paint areas */
*,
*::before,
*::after {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
}

:root {
  --text: #ffcc00;
  --bg: #000000;
  --highlight-bg: #ffcc00;
  --type-line-opacity: 0.05;
}

body {
  background-color: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Longsile", sans-serif;
  position: relative;
  scroll-behavior: smooth;
  /* Performance optimizations */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
  /* Changed from optimizeLegibility for better performance */
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 204, 0, 0.1);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-line {
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-cta {
  display: none !important;
}

.desktop-cta {
  display: flex;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.8;
}

.logo-image {
  height: 100px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-link {
  color: rgba(255, 204, 0, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-family: "TheGoodMonolith", monospace;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
}

.cta-button {
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
  padding: 0.8rem 2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-family: "TheGoodMonolith", monospace;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--text);
  transition: left 0.3s ease;
  z-index: -1;
}

.cta-button:hover {
  color: var(--bg);
}

.cta-button:hover::before {
  left: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.background-frame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url("https://assets.codepen.io/7558/web03.webp");
  background-size: 100% 100%;
  background-position: center;
  z-index: 0;
  pointer-events: none;
  /* Performance optimizations */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.bottom-gradient {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40vh;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.background-image {
  position: fixed;
  width: calc(100%);
  height: calc(100vh);
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  mix-blend-mode: multiply;
  transition: opacity 0.8s ease-in-out;
  /* Performance optimizations */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.background-image.default {
  background-image: url("https://assets.codepen.io/7558/wave-bg-001.webp");
  opacity: 1;
}

.background-image.focus {
  background-image: url("https://assets.codepen.io/7558/wave-bg-002.webp");
}

.background-image.presence {
  background-image: url("https://assets.codepen.io/7558/wave-bg-003.webp");
}

.background-image.feel {
  background-image: url("https://assets.codepen.io/7558/wave-bg-004.webp");
}

.text-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.text-item {
  position: absolute;
  color: var(--text);
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.8;
  white-space: nowrap;
  font-family: "TheGoodMonolith", monospace;
  z-index: 0;
  /* Performance optimizations */
  transform: translateZ(0);
}

.text-item::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -4px;
  width: 0;
  height: calc(100% + 4px);
  background-color: var(--highlight-bg);
  z-index: 1;
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.text-item.highlight::after {
  width: calc(100% + 8px);
}

.text-item.highlight-reverse::after {
  width: 0;
  right: -4px;
  left: auto;
}

.main-content {
  position: relative;
  z-index: 10;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sliced-container {
  position: relative;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  transform: translateZ(0);
}

.text-row {
  position: relative;
  width: 100%;
  height: 140px;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 100;
}

.text-content,
.char,
.char-inner {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.text-content {
  position: relative;
  font-size: 10rem;
  font-weight: normal;
  text-transform: uppercase;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: var(--text);
  letter-spacing: 0px;
  transition: letter-spacing 0.5s ease;
  visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.text-row:hover .text-content {
  letter-spacing: 5px;
}

.interactive-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

.char {
  display: inline-block;
  position: relative;
  overflow: hidden;
  max-width: 80px;
  transition: max-width 0.64s cubic-bezier(0.86, 0, 0.07, 1);
  margin-right: 0px;
}

.text-row.active .char::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 80%;
  background-color: rgba(255, 204, 0, 0.2);
  transform: none;
  opacity: 0;
  -webkit-animation: fadeIn 0.3s forwards;
  animation: fadeIn 0.3s forwards;
  -webkit-animation-delay: calc(var(--char-index, 0) * 0.05s);
  animation-delay: calc(var(--char-index, 0) * 0.05s);
}

@-webkit-keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.char.narrow-char {
  max-width: 40px;
}

.char:last-child::after {
  display: none;
}

.char-inner {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  transform: translate3d(-20px, 0, 0);
}

.type {
  position: fixed;
  height: 100vmax;
  width: 100vmax;
  text-transform: uppercase;
  display: none;
  justify-content: center;
  align-content: center;
  text-align: center;
  top: 50%;
  left: 50%;
  margin-top: -50vmax;
  margin-left: -50vmax;
  z-index: 5;
  transform-style: preserve-3d;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.type-line {
  white-space: nowrap;
  font-size: clamp(7rem, 18.75vh, 15rem);
  line-height: 0.75;
  font-weight: bold;
  font-family: "PP Neue Montreal", sans-serif;
  color: #ffffff;
  opacity: var(--type-line-opacity);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: relative;
}

.type-line.odd {
  z-index: 50;
}

.type-line.even {
  z-index: 150;
}

/* Mobile Optimization */

/* For tablets and smaller screens */
@media screen and (max-width: 992px) {
  .text-content {
    font-size: 7rem;
  }

  .text-row {
    height: 110px;
  }

  .type-line {
    font-size: clamp(5rem, 12vh, 10rem);
  }
}

/* For mobile phones */
@media screen and (max-width: 768px) {
  .text-content {
    font-size: 5rem;
  }

  .text-row {
    height: 80px;
    margin: 8px 0;
  }

  .type-line {
    font-size: clamp(3.5rem, 8vh, 7rem);
  }

  .text-item {
    font-size: 0.7rem;
  }
}

/* For very small screens */
@media screen and (max-width: 480px) {
  .text-content {
    font-size: 3.5rem;
  }

  .text-row {
    height: 60px;
    margin: 6px 0;
  }

  .type-line {
    font-size: clamp(2.5rem, 6vh, 5rem);
  }

  .text-item {
    font-size: 0.6rem;
  }
}

/* Brand Background - Outlined Text */
.brand-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
}

.brand-text {
  position: absolute;
  font-size: clamp(6rem, 12vw, 15rem);
  font-weight: 900;
  font-family: "PP Neue Montreal", sans-serif;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
  text-stroke: 1.5px var(--text);
  white-space: nowrap;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  word-spacing: 0.1em;
}

.brand-text:nth-child(1) {
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
}

.brand-text:nth-child(2) {
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
}

.brand-text:nth-child(3) {
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
}

/* S
ervices Section */
.services-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  padding: 8rem 4rem;
  z-index: 10;
  overflow: hidden;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--text);
  text-align: center;
  margin-bottom: 5rem;
  font-family: "Longsile", sans-serif;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  -webkit-animation: fadeInUp 0.3s forwards;
  animation: fadeInUp 0.3s forwards;
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

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

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: rgba(255, 204, 0, 0.02);
  border: 1px solid rgba(255, 204, 0, 0.1);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(50px);
}

.service-card.visible,
.approach-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 204, 0, 0.05);
  transition: left 0.3s ease;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover {
  border-color: var(--text);
  transform: translateY(-5px) scale(1.01);
}

.service-number {
  font-size: 4rem;
  color: rgba(255, 204, 0, 0.2);
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-family: "TheGoodMonolith", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-desc {
  font-size: 1rem;
  color: rgba(255, 204, 0, 0.7);
  line-height: 1.6;
  font-family: "PP Neue Montreal", sans-serif;
}

/* Approach Section */
.approach-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg) 0%, #0a0a0a 100%);
  padding: 8rem 4rem;
  z-index: 10;
  overflow: hidden;
}

.approach-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-top: 4rem;
}

.approach-item {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.approach-icon {
  width: 80px;
  height: 80px;
  color: var(--text);
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-animation: float 4s ease-in-out infinite;
  animation: float 4s ease-in-out infinite;
}

.approach-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@-webkit-keyframes float {

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

  50% {
    transform: translate3d(0, -15px, 0);
  }
}

@keyframes float {

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

  50% {
    transform: translate3d(0, -15px, 0);
  }
}

.approach-item:nth-child(2) .approach-icon {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

.approach-item:nth-child(3) .approach-icon {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

.approach-item:nth-child(4) .approach-icon {
  -webkit-animation-delay: 1.5s;
  animation-delay: 1.5s;
}

.approach-item h3 {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-family: "TheGoodMonolith", monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.approach-item p {
  font-size: 1rem;
  color: rgba(255, 204, 0, 0.7);
  line-height: 1.6;
  font-family: "PP Neue Montreal", sans-serif;
}

/* Contact Section */
.contact-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  padding: 8rem 4rem;
  z-index: 10;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.contact-info h3 {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-family: "Longsile", sans-serif;
}

.contact-info p {
  font-size: 1.1rem;
  color: rgba(255, 204, 0, 0.7);
  margin-bottom: 3rem;
  font-family: "PP Neue Montreal", sans-serif;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-label {
  font-size: 0.8rem;
  color: rgba(255, 204, 0, 0.5);
  text-transform: uppercase;
  font-family: "TheGoodMonolith", monospace;
  letter-spacing: 1px;
}

.contact-item a,
.contact-item span {
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  font-family: "PP Neue Montreal", sans-serif;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 204, 0, 0.02);
  border: 1px solid rgba(255, 204, 0, 0.2);
  color: var(--text);
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-family: "PP Neue Montreal", sans-serif;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text);
  background: rgba(255, 204, 0, 0.05);
}

.contact-form input::-moz-placeholder,
.contact-form textarea::-moz-placeholder {
  color: rgba(255, 204, 0, 0.4);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 204, 0, 0.4);
}

.contact-form button {
  align-self: flex-start;
}

/* Why Us Section */
.why-us-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg) 0%, #0a0a0a 100%);
  padding: 8rem 4rem;
  z-index: 10;
  overflow: hidden;
}

.why-us-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
  align-items: center;
}

.why-us-left {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.why-us-feature {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  background: rgba(255, 204, 0, 0.02);
  border-left: 2px solid transparent;
  transition: all 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.why-us-feature:hover {
  border-left-color: var(--text);
  background: rgba(255, 204, 0, 0.05);
  transform: translateX(10px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--text);
  line-height: 1;
  min-width: 60px;
}

.feature-content h3 {
  font-size: 1.5rem;
  color: var(--text);
  font-family: "TheGoodMonolith", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.feature-content p {
  font-size: 1rem;
  color: rgba(255, 204, 0, 0.7);
  line-height: 1.6;
  font-family: "PP Neue Montreal", sans-serif;
}

.why-us-right {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.why-us-highlight {
  text-align: center;
  padding: 4rem;
  border: 2px solid rgba(255, 204, 0, 0.2);
  position: relative;
  background: rgba(255, 204, 0, 0.02);
}

.why-us-highlight::before,
.why-us-highlight::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--text);
}

.why-us-highlight::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.why-us-highlight::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

.highlight-number {
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--text);
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 1rem;
  -webkit-animation: pulse 2s ease-in-out infinite;
  animation: pulse 2s ease-in-out infinite;
}

@-webkit-keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.highlight-text {
  font-size: 1.2rem;
  color: rgba(255, 204, 0, 0.8);
  font-family: "TheGoodMonolith", monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.4;
}

/* Stats Section */
.stats-section {
  position: relative;
  background: linear-gradient(180deg, #0a0a0a 0%, var(--bg) 100%);
  padding: 6rem 4rem;
  z-index: 10;
  overflow: hidden;
}

.stats-section .brand-background {
  opacity: 0.06;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text), transparent);
  opacity: 0.3;
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 2rem;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--text);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.stat-item.visible::before {
  opacity: 1;
}

.stat-number {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--text);
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 1rem;
}

.stat-number::after {
  content: "+";
  font-size: 0.6em;
  opacity: 0.7;
}

.stat-item[data-stat="4"] .stat-number::after {
  content: "%";
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 204, 0, 0.7);
  font-family: "TheGoodMonolith", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Clients Section */
.clients-section {
  position: relative;
  min-height: 80vh;
  background: var(--bg);
  padding: 8rem 4rem;
  z-index: 10;
  overflow: hidden;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.client-item {
  background: rgba(255, 204, 0, 0.02);
  border: 1px solid rgba(255, 204, 0, 0.1);
  padding: 3.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.client-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.08) 0%, transparent 70%);
  transition: transform 0.15s ease;
  pointer-events: none;
}

.client-item:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.client-item:hover {
  border-color: var(--text);
  transform: translate3d(0, -3px, 0);
}

/* Hardware acceleration for client items */
.client-item,
.client-item::before {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.client-logo {
  font-size: 1.8rem;
  color: var(--text);
  font-family: "TheGoodMonolith", monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.1s ease;
  pointer-events: none;
}

.client-item:hover .client-logo {
  opacity: 1;
}

.client-logo span {
  color: var(--text);
  margin: 0 0.3rem;
  font-size: 1.2em;
}

/* Testimonials Section */
.testimonials-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg) 0%, #0a0a0a 100%);
  padding: 8rem 4rem;
  z-index: 10;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: rgba(255, 204, 0, 0.02);
  border: 1px solid rgba(255, 204, 0, 0.1);
  padding: 3rem;
  position: relative;
  transition: all 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--text);
  transition: height 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

.testimonial-card:hover::before {
  height: 100%;
}

.testimonial-card:hover {
  border-color: rgba(255, 204, 0, 0.3);
  transform: translateX(10px);
}

.testimonial-quote {
  font-size: 6rem;
  color: rgba(255, 204, 0, 0.2);
  font-family: "Longsile", sans-serif;
  line-height: 0.5;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: rgba(255, 204, 0, 0.8);
  line-height: 1.8;
  font-family: "PP Neue Montreal", sans-serif;
  margin-bottom: 2rem;
}

.testimonial-author {
  border-top: 1px solid rgba(255, 204, 0, 0.1);
  padding-top: 1.5rem;
}

.author-name {
  font-size: 1.2rem;
  color: var(--text);
  font-family: "TheGoodMonolith", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.author-title {
  font-size: 0.9rem;
  color: rgba(255, 204, 0, 0.5);
  font-family: "PP Neue Montreal", sans-serif;
}

/* Footer */
.main-footer {
  position: relative;
  background: var(--bg);
  border-top: 1px solid rgba(255, 204, 0, 0.1);
  padding: 4rem 4rem 2rem;
  z-index: 10;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 204, 0, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo-image {
  height: 120px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: brightness(1.1);
}

.footer-tagline {
  font-size: 1rem;
  color: rgba(255, 204, 0, 0.6);
  font-family: "PP Neue Montreal", sans-serif;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column h4 {
  font-size: 0.9rem;
  color: var(--text);
  font-family: "TheGoodMonolith", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.footer-column a,
.footer-column span {
  font-size: 0.9rem;
  color: rgba(255, 204, 0, 0.6);
  text-decoration: none;
  font-family: "PP Neue Montreal", sans-serif;
  transition: color 0.3s ease;
  position: relative;
  width: fit-content;
}

.footer-column a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.3s ease;
}

.footer-column a:hover {
  color: var(--text);
}

.footer-column a:hover::after {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
}

.footer-text {
  font-size: 0.85rem;
  color: rgba(255, 204, 0, 0.4);
  font-family: "TheGoodMonolith", monospace;
}

.footer-legal {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(255, 204, 0, 0.4);
  text-decoration: none;
  font-family: "TheGoodMonolith", monospace;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--text);
}

.footer-legal span {
  color: rgba(255, 204, 0, 0.2);
}

/* Mobile Responsive Updates */
@media screen and (max-width: 992px) {
  .main-nav {
    padding: 0 2rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .services-section,
  .approach-section,
  .contact-section,
  .clients-section,
  .testimonials-section,
  .why-us-section {
    padding: 6rem 2rem;
  }

  .why-us-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats-section {
    padding: 4rem 2rem;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .main-nav {
    padding: 0 1.5rem;
    height: 90px;
  }

  .hamburger {
    display: flex;
  }

  .desktop-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100vh - 90px);
    background: rgba(0, 0, 0, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.active .nav-link {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.active .nav-link:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-links.active .nav-link:nth-child(2) {
    transition-delay: 0.2s;
  }

  .nav-links.active .nav-link:nth-child(3) {
    transition-delay: 0.3s;
  }

  .nav-links.active .nav-link:nth-child(4) {
    transition-delay: 0.4s;
  }

  .nav-links.active .nav-link:nth-child(5) {
    transition-delay: 0.5s;
  }

  .mobile-cta {
    display: block !important;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.active .mobile-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
  }

  .logo-image {
    height: 70px;
  }

  .footer-logo-image {
    height: 90px;
  }

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

  .approach-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section-title {
    margin-bottom: 3rem;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .client-item {
    padding: 3rem 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-legal span {
    display: none;
  }
}


/* Legal Pages */
.legal-page {
  min-height: 100vh;
  background: var(--bg);
  padding: 180px 2rem 4rem;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
}

.legal-title {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--text);
  font-family: "Longsile", sans-serif;
  margin-bottom: 1rem;
  text-align: center;
}

.legal-date {
  text-align: center;
  color: rgba(255, 204, 0, 0.6);
  font-family: "TheGoodMonolith", monospace;
  font-size: 0.9rem;
  margin-bottom: 4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-content {
  color: rgba(255, 204, 0, 0.9);
  font-family: "PP Neue Montreal", sans-serif;
  line-height: 1.8;
}

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 204, 0, 0.1);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.8rem;
  color: var(--text);
  font-family: "TheGoodMonolith", monospace;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-section h3 {
  font-size: 1.3rem;
  color: var(--text);
  font-family: "TheGoodMonolith", monospace;
  margin: 2rem 0 1rem;
  letter-spacing: 0.5px;
}

.legal-section p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.legal-section ul {
  margin: 1rem 0 1rem 2rem;
  list-style: none;
}

.legal-section ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.legal-section ul li::before {
  content: "▬";
  position: absolute;
  left: 0;
  color: var(--text);
  font-size: 0.8rem;
}

.legal-section a {
  color: var(--text);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.legal-section a:hover {
  opacity: 0.7;
}

.legal-footer {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 204, 0, 0.05);
  border-left: 3px solid var(--text);
}

.legal-footer p {
  font-size: 0.95rem;
  color: rgba(255, 204, 0, 0.8);
  font-style: italic;
  margin: 0;
}

.legal-back {
  margin-top: 4rem;
  text-align: center;
}

.back-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
  text-decoration: none;
  font-family: "TheGoodMonolith", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.back-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--text);
  transition: left 0.3s ease;
  z-index: -1;
}

.back-button:hover {
  color: var(--bg);
}

.back-button:hover::before {
  left: 0;
}

/* Legal Pages Mobile */
@media screen and (max-width: 768px) {
  .legal-page {
    padding: 140px 1.5rem 3rem;
  }

  .legal-title {
    font-size: 2.5rem;
  }

  .legal-section h2 {
    font-size: 1.5rem;
  }

  .legal-section h3 {
    font-size: 1.2rem;
  }

  .legal-section ul {
    margin-left: 1rem;
  }

  .legal-section ul li {
    padding-left: 1.2rem;
  }
}


/* Cookie Consent Modal */
.cookie-consent {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}

.cookie-consent.show {
  display: flex !important;
}

body.cookie-modal-open {
  overflow: hidden;
}

.cookie-content {
  max-width: 700px;
  width: 100%;
  background: var(--bg);
  border: 3px solid var(--text);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  -webkit-animation: popIn 0.5s cubic-bezier(0.86, 0, 0.07, 1);
          animation: popIn 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

@-webkit-keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cookie-icon {
  width: 80px;
  height: 80px;
  color: var(--text);
  flex-shrink: 0;
}

.cookie-icon svg {
  width: 100%;
  height: 100%;
}

.cookie-text {
  width: 100%;
}

.cookie-text h3 {
  font-size: 2rem;
  color: var(--text);
  font-family: "TheGoodMonolith", monospace;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cookie-text p {
  font-size: 1.05rem;
  color: rgba(255, 204, 0, 0.85);
  font-family: "PP Neue Montreal", sans-serif;
  line-height: 1.8;
  margin: 0;
}

.cookie-text a {
  color: var(--text);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.cookie-text a:hover {
  opacity: 0.7;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: center;
}

.cookie-btn {
  padding: 1rem 2.5rem;
  font-family: "TheGoodMonolith", monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--text);
  position: relative;
  overflow: hidden;
  min-width: 180px;
}

.cookie-accept,
.cookie-accept-all {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.cookie-accept:hover,
.cookie-accept-all:hover {
  background: transparent;
  color: var(--text);
}

.cookie-settings,
.cookie-save {
  background: transparent;
  color: var(--text);
}

.cookie-settings::before,
.cookie-save::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--text);
  transition: left 0.3s ease;
  z-index: -1;
}

.cookie-settings:hover,
.cookie-save:hover {
  color: var(--bg);
}

.cookie-settings:hover::before,
.cookie-save:hover::before {
  left: 0;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--bg);
  border: 2px solid var(--text);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  -webkit-animation: slideUp 0.5s cubic-bezier(0.86, 0, 0.07, 1);
  animation: slideUp 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

@-webkit-keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

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

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 204, 0, 0.2);
}

.cookie-modal-header h2 {
  font-size: 1.8rem;
  color: var(--text);
  font-family: "TheGoodMonolith", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: var(--text);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.3s ease;
}

.cookie-modal-close:hover {
  transform: rotate(90deg);
}

.cookie-modal-body {
  padding: 2rem;
}

.cookie-option {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 204, 0, 0.1);
}

.cookie-option:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cookie-option-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 204, 0, 0.2);
  transition: 0.3s;
  border: 1px solid var(--text);
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text);
  transition: 0.3s;
}

.cookie-switch input:checked+.cookie-slider {
  background-color: var(--text);
}

.cookie-switch input:checked+.cookie-slider:before {
  transform: translateX(24px);
  background-color: var(--bg);
}

.cookie-switch input:disabled+.cookie-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-option-info h4 {
  font-size: 1.1rem;
  color: var(--text);
  font-family: "TheGoodMonolith", monospace;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-option-info p {
  font-size: 0.9rem;
  color: rgba(255, 204, 0, 0.7);
  font-family: "PP Neue Montreal", sans-serif;
  line-height: 1.6;
  margin: 0;
}

.cookie-modal-footer {
  padding: 2rem;
  border-top: 1px solid rgba(255, 204, 0, 0.2);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Cookie Consent Mobile */
@media screen and (max-width: 768px) {
  .cookie-consent {
    padding: 1.5rem;
  }

  .cookie-content {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .cookie-icon {
    width: 60px;
    height: 60px;
  }

  .cookie-text h3 {
    font-size: 1.5rem;
  }

  .cookie-text p {
    font-size: 0.95rem;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
    min-width: auto;
  }

  .cookie-modal {
    padding: 1rem;
  }

  .cookie-modal-content {
    max-height: 90vh;
  }

  .cookie-modal-header {
    padding: 1.5rem;
  }

  .cookie-modal-header h2 {
    font-size: 1.3rem;
  }

  .cookie-modal-body {
    padding: 1.5rem;
  }

  .cookie-modal-footer {
    padding: 1.5rem;
    flex-direction: column;
  }

  .cookie-modal-footer .cookie-btn {
    width: 100%;
  }
}