/*
  style.css — Billison portfolio
  Modern, minimal, animated with performance in mind.
  - Uses CSS variables for quick theming
  - Avoids heavy shadows for mobile
  - Optimized transforms for GPU acceleration
*/
:root {
  --bg: #0a0a0a;
  --surface: #0f0f0f;
  --muted: #9aa0a6;
  --accent: #0055ff; /* primary accent */
  --text: #ffffff;
  --container: 1200px;
  --radius: 12px;
  --glass: rgba(255, 255, 255, 0.03);
}

/* Reset-ish */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
body {
  min-height: 100vh;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(180deg, var(--bg), #070707);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Creato Display", "Montserrat", sans-serif;
  line-height: 1.2;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem;
}

/* NAV */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: all 0.4s ease;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  transition: all 0.35s ease;
  position: relative;
}
.nav .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 2;
}
.logo-image {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logo:hover .logo-image {
  transform: scale(1.05);
}
.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #4d7cff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-family: "Creato Display", "Montserrat", sans-serif;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 40, 244, 0.3);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logo:hover .logo-icon {
  transform: rotate(-10deg) scale(1.1);
}
.logo-text {
  transition: color 0.3s ease;
}
.logo:hover .logo-text {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}
.nav-link span {
  position: relative;
  z-index: 1;
}
.nav-link::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #4d7cff);
  transition: width 0.3s ease;
}
.nav-link:hover {
  opacity: 1;
  color: var(--accent);
}
.nav-link:hover::before {
  width: 100%;
}
.nav-link-cta {
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #4d7cff);
  color: #fff !important;
  opacity: 1 !important;
  box-shadow: 0 4px 16px rgba(0, 40, 244, 0.25);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-link-cta::before {
  display: none;
}
.nav-link-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 40, 244, 0.4);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.15rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 2;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}
.hamburger {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hamburger::before,
.hamburger::after {
  content: "";
  left: 0;
}
.hamburger::before {
  top: -7px;
}
.hamburger::after {
  top: 7px;
}
.nav-toggle.open .hamburger {
  background: transparent;
}
.nav-toggle.open .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle.open .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-header.solid {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header.solid .nav {
  padding: 1.25rem 2rem;
}

/* Mobile Nav Sheet */
.mobile-nav-sheet {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-sheet.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.mobile-nav-link {
  color: var(--text);
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: 800;
  font-family: "Creato Display", "Montserrat", sans-serif;
  display: block;
  position: relative;
  transition: color 0.3s ease;
  opacity: 0; /* Hidden initially for GSAP */
  transform: translateY(20px);
}
.mobile-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
}
.mobile-nav-link:hover {
  color: var(--accent);
}
.mobile-nav-link:hover::after {
  width: 100%;
}

/* Header override when nav is open */
.site-header.nav-open {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

/* small helper */
.hidden {
  display: none;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=1920&auto=format&fit=crop");
  background-size: cover;
  background-position: center center;
  transform-origin: center center;
  will-change: transform;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.85) 50%,
    rgba(0, 40, 244, 0.15) 100%
  );
  mix-blend-mode: multiply;
}

/* Section Backgrounds */
.about,
.portfolio,
.pricing,
.testimonials,
.contact {
  position: relative;
}

.about-bg,
.services-bg,
.pricing-bg,
.testimonials-bg,
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0.05; /* Dimmed background images */
}

.about-bg {
  background-image: url("https://loremflickr.com/1920/1080/camera,lens?random=2");
  background-size: cover;
  background-position: center;
}

.services-bg {
  background-image: url("https://loremflickr.com/1920/1080/studio,photography?random=3");
  background-size: cover;
  background-position: center;
}

.pricing-bg {
  background-image: url("https://loremflickr.com/1920/1080/office,creative?random=4");
  background-size: cover;
  background-position: center;
}

.testimonials-bg {
  background-image: url("https://loremflickr.com/1920/1080/people,meeting?random=5");
  background-size: cover;
  background-position: center;
}

.contact-bg {
  background-image: url("https://loremflickr.com/1920/1080/phone,typing?random=6");
  background-size: cover;
  background-position: center;
}
.hero-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 40, 244, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  animation: particleMove 20s linear infinite;
}
@keyframes particleMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
  max-height: 90vh;
  overflow: visible;
}
.hero-text {
  max-width: 650px;
  padding: 2rem 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}
.hero-badge svg {
  color: var(--accent);
}
.intro-line {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  margin: 0 0 0.6rem 0;
  font-weight: 700;
  line-height: 1.2;
}
.name {
  color: var(--accent);
  display: inline-block;
}
.tagline {
  font-size: clamp(0.7rem, 1.5vw, 1rem);
  margin: 0 0 1.25rem 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: normal; /* Allow text to wrap */
  line-height: 1.6;
}
.typing-text {
  color: var(--accent);
  position: relative;
}
.lead {
  color: var(--muted);
  max-width: 55ch;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.7rem;
  border-radius: 0;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}
.cta-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}
.cta-primary:hover {
  background: #0020d4;
  transform: translateX(4px);
}
.cta-primary svg {
  transition: transform 0.3s ease;
}
.cta-primary:hover svg {
  transform: translateX(4px);
}
.cta-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
}
.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent);
  color: var(--accent);
}
.hero-stats {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero-stat strong {
  font-size: 1.6rem;
  font-family: "Creato Display", "Montserrat", sans-serif;
  color: var(--accent);
  font-weight: 600;
}
.hero-stat span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}
.hero-showcase {
  position: relative;
  max-height: 70vh;
  display: flex;
  align-items: center;
}
.showcase-decoration {
  display: none;
}
.showcase-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.showcase-frame {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-height: 65vh;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}
.showcase-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-top-left-radius: 8px;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 0.8;
}
.showcase-frame::after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-bottom-right-radius: 8px;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 0.8;
}
.showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Floating Animations */
@keyframes float-main {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(-3deg); }
}
@keyframes float-secondary {
  0%, 100% { transform: translateY(0) rotate(6deg) scale(0.9); }
  50% { transform: translateY(-20px) rotate(6deg) scale(0.9); }
}
@keyframes float-tertiary {
  0%, 100% { transform: translateY(0) rotate(-6deg) scale(0.85); }
  50% { transform: translateY(-12px) rotate(-6deg) scale(0.85); }
}

.showcase-frame-main {
  position: relative;
  width: 90%;
  margin-left: 5%;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 30px 80px rgba(0, 0, 0, 0.4);
}
.showcase-frame-main:hover {
  z-index: 10;
  transform: scale(1.02);
}
.showcase-frame-main:hover::before,
.showcase-frame-main:hover::after {
  width: 60px;
  height: 60px;
}

.showcase-frame-secondary {
  width: 65%;
  top: -15%;
  right: -10%;
  z-index: 1;
  opacity: 0.9;
  animation: float-secondary 7s ease-in-out infinite 1s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 20px 50px rgba(0, 0, 0, 0.3);
}
.showcase-frame-secondary:hover {
  z-index: 10;
  opacity: 1;
  animation-play-state: paused;
  transform: scale(1) rotate(0deg);
}
.showcase-frame-secondary:hover::before,
.showcase-frame-secondary:hover::after {
  width: 50px;
  height: 50px;
}

.showcase-frame-tertiary {
  width: 65%;
  top: auto;
  bottom: -20%;
  left: -15%;
  z-index: 3;
  opacity: 1;
  animation: float-tertiary 8s ease-in-out infinite 0.5s;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 25px 60px rgba(0, 0, 0, 0.35);
}
.showcase-frame-tertiary:hover {
  z-index: 10;
  opacity: 1;
  animation-play-state: paused;
  transform: scale(1) rotate(0deg);
}
.showcase-frame-tertiary:hover::before,
.showcase-frame-tertiary:hover::after {
  width: 50px;
  height: 50px;
}
.showcase-frame:hover img {
  transform: scale(1.05);
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.3s ease;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
}
.scroll-indicator:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(-50%) translateY(-4px);
}
.scroll-indicator svg {
  color: var(--accent);
}

/* ABOUT */
.about {
  padding: 5rem 0;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
  align-items: center; /* Changed back to center to avoid stretching the smaller image */
}
.section-title {
  font-size: 2.5rem;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 1.5rem 0;
  font-weight: 700;
  font-family: "Creato Display", "Montserrat", sans-serif;
}
.about-heading {
  font-size: 2rem;
  margin: 0.5rem 0;
  color: var(--text);
  font-weight: 600;
}
.about-tagline {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.5rem 0 1.5rem 0;
}
.about-description {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.stat-item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.75rem 1.25rem;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transition: border-color 0.3s ease;
  cursor: pointer;
  position: relative;
}
.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.stat-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
.stat-item:hover::before {
  transform: scaleX(1);
}
.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 0;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s ease;
}
.stat-item:hover .stat-icon {
  transform: scale(1.05);
}
.stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-content strong {
  display: block;
  font-size: 1.8rem;
  font-family: "Creato Display", "Montserrat", sans-serif;
  color: var(--accent);
  font-weight: 600;
}
.stat-content span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.about-right {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.founder-name {
  margin-top: 1.5rem;
  font-family: "Creato Display", "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 1px;
  text-align: center;
}

/* About Section - Three Layered Images */
.about-showcase {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 450px;
}

.about-showcase-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-frame {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.about-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 30px;
  height: 30px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-top-left-radius: 6px;
  z-index: 10;
  opacity: 0.8;
}

.about-frame::after {
  content: "";
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-bottom-right-radius: 6px;
  z-index: 10;
  opacity: 0.8;
}

.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
}

.about-frame-main {
  width: 280px;
  height: 350px;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.about-frame-main:hover {
  transform: translate(-50%, -50%) scale(1.03) translateZ(0);
  z-index: 10;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.about-frame-secondary {
  width: 200px;
  height: 260px;
  z-index: 2;
  top: 10%;
  right: 0;
  transform: rotate(6deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.about-frame-secondary:hover {
  transform: rotate(3deg) scale(1.05) translateZ(0);
  z-index: 10;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.about-frame-tertiary {
  width: 180px;
  height: 240px;
  z-index: 1;
  bottom: 5%;
  left: 0;
  transform: rotate(-8deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.about-frame-tertiary:hover {
  transform: rotate(-4deg) scale(1.05) translateZ(0);
  z-index: 10;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.about-frame:hover img {
  transform: scale(1.1) translateZ(0);
}

/* Legacy styles - kept for compatibility */
.about-image-wrapper {
  position: relative;
  border-radius: 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  height: 420px;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  z-index: 2;
}
.about-image-wrapper::before {
  display: none;
}
.about-image-wrapper::after {
  display: none;
}
.about-image-wrapper:hover {
  transform: translate(-10px, -10px);
}
.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 0;
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  background-color: #222;
}
.about-image-wrapper:hover img {
  transform: scale(1.05);
}
.image-decoration {
  display: none;
  position: absolute;
  inset: 2rem 0 0 2rem;
  border: 2px solid var(--accent);
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.about-right:hover .image-decoration {
  inset: 3rem -1rem -1rem 3rem;
  border-width: 4px;
  opacity: 0.6;
}

/* About Showcase Mobile Responsive */
@media (max-width: 768px) {
  .about-showcase {
    max-width: 320px;
    height: 380px;
  }
  
  .about-frame-main {
    width: 220px;
    height: 280px;
  }
  
  .about-frame-secondary {
    width: 150px;
    height: 200px;
  }
  
  .about-frame-tertiary {
    width: 140px;
    height: 180px;
  }
}

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

/* SERVICES */
.services {
  padding: 5rem 0;
  position: relative;
}
.services::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, rgba(0, 40, 244, 0.08), transparent);
  border-radius: 50%;
  filter: blur(100px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}
.services-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}
.service-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s,
    background 0.4s;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 40, 244, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}
.service-card:hover::before {
  opacity: 1;
}
.service-icon-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
  width: 70px;
  height: 70px;
}
.icon-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), #4d7cff);
  border-radius: 16px;
  opacity: 0.15;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s;
}
.service-card:hover .icon-bg {
  transform: rotate(180deg) scale(1.2);
  opacity: 0.25;
}
.service-icon-wrapper .icon {
  position: relative;
  z-index: 2;
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 40, 244, 0.15), rgba(0, 40, 244, 0.05));
  border: 2px solid rgba(0, 40, 244, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.4s,
    border-color 0.4s;
}
.service-card:hover .icon {
  transform: scale(1.15) rotate(-10deg);
  background: linear-gradient(135deg, var(--accent), #4d7cff);
  border-color: var(--accent);
  color: #fff;
}
.service-card h4 {
  font-size: 1.4rem;
  margin: 0 0 1rem 0;
  transition: color 0.3s ease;
}
.service-card:hover h4 {
  color: var(--accent);
}
.service-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.service-card:hover p {
  color: var(--text);
}

/* PORTFOLIO */
.portfolio {
  padding: 6rem 0;
  position: relative;
}
.portfolio-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.portfolio-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: "Montserrat", sans-serif;
}
.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.filter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.filter-count {
  display: none;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.port-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  aspect-ratio: 16/11;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 1;
  transform: scale(1);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
}
.port-item.hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  position: absolute;
}
.port-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 1;
}
.port-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 20;
}
.port-item:hover img {
  transform: scale(1.1);
}
.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 1;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.5rem;
  z-index: 10;
}
.port-item:hover .port-overlay {
  opacity: 1;
}
.port-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  gap: 1rem;
}
.port-info-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}
.port-category {
  display: none;
}
.port-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
  font-family: "Creato Display", "Montserrat", sans-serif;
  max-width: 80%;
}
.port-price {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.25rem;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.02em;
}
.port-desc {
  display: none;
}
.port-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}
.port-action span {
  display: none;
}
.port-action svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  transition: transform 0.3s ease;
}
.port-item:hover .port-action {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}
.port-item:hover .port-action svg {
  transform: rotate(-45deg);
}
.port-item::before, .port-item::after {
  display: none;
}

/* TESTIMONIAL */
.testimonials {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.testimonials::before,
.testimonials::after {
  display: none;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.testimonials-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.testimonials-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  position: relative;
  transition: border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.testimonial-card:hover::before {
  width: 80px;
}

.quote-icon {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1rem;
  box-shadow: none;
  position: relative;
  z-index: 2;
}
.quote-icon::before {
  display: none;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  font-style: normal;
  position: relative;
  z-index: 2;
  flex: 1;
}
.testimonial-card blockquote::before {
  display: none;
}
.testimonial-divider {
  width: 100%;
  height: 1px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}
.testimonial-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
  position: relative;
  z-index: 2;
}
.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.client-avatar {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: rgba(0, 40, 244, 0.1);
  border: 1px solid rgba(0, 40, 244, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  position: relative;
}
.client-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.client-details cite {
  font-style: normal;
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
}
.client-role {
  font-size: 0.85rem;
  color: var(--muted);
}
.rating {
  display: flex;
  gap: 0.25rem;
  position: relative;
  z-index: 2;
}
.rating svg {
  color: var(--accent);
  filter: none;
}
.testimonial-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}
.stat-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #4d7cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Creato Display", "Montserrat", sans-serif;
}
.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* PRICING */
.pricing {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}
.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}
.pricing-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.pricing-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pricing-card::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 60px;
  height: 60px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pricing-card:hover::before,
.pricing-card:hover::after {
  opacity: 1;
}
.pricing-card.featured {
  border-color: var(--accent);
  background: rgba(0, 85, 255, 0.05);
}
.pricing-card.featured::before,
.pricing-card.featured::after {
  opacity: 1;
}
.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.4rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0;
}
.pricing-card-header {
  margin-bottom: 2rem;
}
.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem 0;
  font-family: "Creato Display", "Montserrat", sans-serif;
}
.plan-price {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.currency {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 0.5rem;
}
.amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  font-family: "Creato Display", "Montserrat", sans-serif;
}
.plan-desc {
  color: var(--muted);
  font-size: 0.95rem;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text);
  font-size: 0.95rem;
}
.plan-features svg {
  color: var(--accent);
  flex-shrink: 0;
}
.plan-btn {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
}
.plan-btn:hover {
  background: #0066ff;
  transform: translateY(-2px);
}
.pricing-card.featured .plan-btn {
  background: #fff;
  color: var(--accent);
}
.pricing-card.featured .plan-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* CONTACT */
.contact {
  padding: 5rem 0;
}
.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}
.contact-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.3s ease;
}
.contact-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
.contact-card:hover::before {
  height: 100%;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.contact-card:hover .contact-icon {
  transform: scale(1.05);
}
.contact-details h4 {
  margin: 0 0 0.25rem 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.contact-details a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.contact-card:hover .contact-details a {
  color: var(--text);
}
.contact-tagline {
  background: rgba(0, 40, 244, 0.05);
  padding: 2rem;
  border-radius: 0;
  text-align: center;
  border: 1px solid rgba(0, 40, 244, 0.1);
  position: relative;
}
.contact-tagline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.signature {
  font-family: "Creato Display", "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-style: normal;
  color: var(--accent);
  margin: 0;
  font-weight: 600;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
  position: relative;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 50px;
  height: 50px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: 0.3px;
}
.contact-form input,
.contact-form textarea {
  padding: 0.95rem 1.15rem;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  transition:
    border 0.3s ease,
    background 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid var(--accent);
  background: rgba(255, 255, 255, 0.04);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}
.btn-submit {
  padding: 0.95rem 1.85rem;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  border: 0;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-submit:hover {
  background: #0020d4;
  transform: translateX(4px);
}
.btn-submit:active {
  transform: translateX(2px);
}
.btn-submit svg {
  transition: transform 0.3s ease;
}
.btn-submit:hover svg {
  transform: translateX(4px);
}

/* FOOTER */
.site-footer {
  padding: 0.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 2px;
  background: var(--accent);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-right {
  display: flex;
  align-items: center;
}
.tagline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.copyright {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.designer-credit {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.designer-credit a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.designer-credit a:hover {
  color: #4d7cff;
  border-bottom-color: var(--accent);
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 85, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 85, 255, 0.4);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    background 0.3s ease,
    transform 0.3s ease;
  z-index: 50;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: rgba(0, 85, 255, 0.4);
  transform: translateY(-4px);
  color: #fff;
}
.back-to-top:active {
  transform: scale(0.95);
}
.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 51;
  text-decoration: none;
}
.whatsapp-btn:hover {
  background: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}
.whatsapp-btn:active {
  transform: scale(0.95);
}
.whatsapp-btn svg {
  width: 24px;
  height: 24px;
}

/* CATEGORY MODAL (Level 1 - Project List) */
.category-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.category-modal.active {
  opacity: 1;
  visibility: visible;
}
.category-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.category-modal-content {
  position: relative;
  z-index: 1;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.5rem 2rem 0.75rem 2rem;
  border-radius: 0;
  box-shadow: 0 0 60px rgba(0, 85, 255, 0.15);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.category-modal-content::-webkit-scrollbar {
  display: none;
}
.category-modal-content::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  z-index: 10;
  pointer-events: none;
}
.category-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 20;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.category-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  transform: rotate(90deg);
}

/* Level 1: Profile Header */
.category-profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.profile-image-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 85, 255, 0.3);
}
.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-info {
  flex-grow: 1;
}
.profile-info h2 {
  font-size: 2.2rem;
  margin: 0 0 0.5rem 0;
  color: var(--text);
  font-family: "Creato Display", "Montserrat", sans-serif;
}
.profile-info p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}
.profile-stats {
  display: flex;
  gap: 2.5rem;
}
.profile-stats .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  min-width: auto;
}
.profile-stats .stat-item::before {
  display: none;
}
.profile-stats .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: "Creato Display", "Montserrat", sans-serif;
  background: linear-gradient(135deg, var(--accent), #4d7cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.profile-stats .stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 0.2rem;
}

/* Level 2: Project Details Page Styles */
.project-details-page {
  padding-top: 60px;
  min-height: 100vh;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
}

.project-details-page main {
  flex: 1 0 auto;
}

.project-details-page .site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

.page-header {
  margin-bottom: 1rem;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  transform: translateX(-4px);
}

.project-details-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}
.project-header-content {
  flex: 1;
  min-width: 300px;
}
.project-category {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 85, 255, 0.15);
  color: var(--accent);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.project-header-content h1 {
  font-size: 2.5rem;
  margin: 0;
  color: var(--text);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}
.project-type {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
}
.project-tagline {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0;
}
.project-actions {
  display: flex;
  gap: 1rem;
}
.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  background: var(--accent);
  color: #fff;
  border-radius: 0;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.project-cta:hover {
  background: #0020d4;
  transform: translateY(-2px);
}
.project-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  border-radius: 0;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.project-cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Level 2: Collage Grid */
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 1rem;
  padding-bottom: 4rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
}

/* Make the grid look like a creative collage */
.gallery-item:nth-child(3n) {
  grid-column: span 2;
}
.gallery-item:nth-child(4n) {
  grid-row: span 2;
}
.gallery-item:nth-child(7n) {
  grid-column: span 2;
  grid-row: span 2;
}

/* Video Container Specifics */
.gallery-item.video-container {
  grid-column: 1 / -1 !important;
  grid-row: span 3 !important;
  background: #000;
  cursor: default;
  border: none;
}
.gallery-item.video-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 768px) {
  .gallery-item.video-container {
    grid-row: span 2 !important;
  }
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--accent);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gallery-overlay span::after {
  content: "→";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay span::after {
  transform: translateX(4px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}
.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10001;
  transition: transform 0.3s ease;
}
.lightbox-close:hover {
  transform: rotate(90deg);
  color: var(--accent);
}
#lightboxCaption {
  display: none !important;
}

.projects-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
  align-items: stretch;
}

.project-grid-item {
  display: block;
  position: relative;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-grid-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  z-index: 2;
}

.project-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-grid-item:hover img {
  transform: scale(1.05);
}

.project-grid-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.project-grid-overlay h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.project-grid-overlay p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* RESPONSIVE STYLES */

/* Tablet & Small Desktop */
@media (max-width: 992px) {
  :root {
    --container: 90%;
  }
  
  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding-top: 6rem;
  }
  .hero-text {
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    width: 100%;
  }
  .hero-showcase {
    max-height: 50vh;
    width: 80%;
    margin: 0 auto;
  }
  
  /* About */
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image-wrapper {
    height: 350px;
    max-width: 300px;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
  .pricing-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }

  /* Testimonials */
  .testimonials-wrapper {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
  .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }
  
  /* Contact */
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Nav */
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-link-cta {
    display: none;
  }
  
  /* Hero Mobile Optimization */
  .hero {
    min-height: auto; /* Allow content to flow */
    padding-bottom: 4rem;
  }
  .hero-inner {
    padding-top: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
    gap: 2.5rem;
  }
  .intro-line {
    font-size: 2.4rem;
    line-height: 1.1;
  }
  .tagline {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .lead {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  /* Show the showcase on mobile but optimized */
  .hero-showcase {
    display: block;
    width: 100%;
    height: 380px; /* Slight increase for better visibility */
    margin-top: 1rem;
    position: relative;
    overflow: visible; /* Ensure shadows aren't clipped */
  }
  .showcase-stack {
    transform: scale(0.9);
    transform-origin: center top; 
  }
  .showcase-frame {
    box-shadow: 0 10px 25px rgba(0,0,0,0.3) !important; /* Simplified shadow for mobile performance */
  }
  .showcase-frame-main {
    width: 70%;
    margin-left: 15%;
    top: 10%;
  }
  .showcase-frame-secondary {
    width: 50%;
    right: 0;
    top: -5%;
  }
  .showcase-frame-tertiary {
    width: 50%;
    left: 0;
    bottom: 10%;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }
  .cta-primary, .cta-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero-stat {
    align-items: center;
    text-align: center;
  }
  .hero-stat strong {
    font-size: 1.4rem;
  }
  .hero-stat span {
    font-size: 0.7rem;
  }

  /* Hide scroll indicator on mobile */
  .scroll-indicator {
    display: none;
  }

  /* Center contact links on mobile */
  .hero-contact-mini {
    justify-content: center;
    width: 100%;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
  }
  .hero-contact-mini a {
    font-size: 0.8rem !important;
  }
  
  /* About */
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .about-image-wrapper {
    height: 280px;
    max-width: 240px;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pricing-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  /* Testimonials */
  .testimonials-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .testimonial-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }
  
  /* Portfolio */
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
    margin: 0;
  }
  .port-item {
    width: 100%;
  }
  .port-overlay {
    padding: 0.75rem;
  }
  .port-action {
    width: 32px;
    height: 32px;
    min-width: 32px;
    flex-shrink: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .port-action svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
  }
  .port-info h4 {
    font-size: 0.9rem;
  }
  .port-info {
    gap: 0.5rem;
  }
  .port-info h4 {
    font-size: 0.85rem;
    flex: 1;
    max-width: none;
    min-width: 0;
    word-wrap: break-word;
  }
  .portfolio-filters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0;
    margin: 0 0 2rem 0;
    width: 100%;
  }
  .filter-btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.75rem;
    justify-content: center;
    width: 100%;
  }
  
  /* Contact */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  
  /* Project Details Page */
  .category-profile-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .profile-info h2 {
    font-size: 1.8rem;
  }
  .profile-stats {
    width: 100%;
    justify-content: center;
    gap: 3rem;
  }
  .project-details-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .project-actions {
    width: 100%;
    flex-direction: column;
  }
  .project-cta, .project-cta-secondary {
    width: 100%;
    justify-content: center;
  }
  .project-gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* Gallery Grid Mobile Adjustments */
  .gallery-item:nth-child(n) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

/* LOADER */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  background: radial-gradient(ellipse at center, #0a0a0a 0%, #030303 100%);
}

.loader-blind-top,
.loader-blind-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, #030303 0%, #050505 100%);
  z-index: 1;
  will-change: transform;
}

.loader-blind-top {
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.loader-blind-bottom {
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  background: linear-gradient(0deg, #030303 0%, #050505 100%);
}

/* Decorative Lines */
.loader-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.loader-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(0, 85, 255, 0.1), transparent);
  height: 1px;
  width: 100%;
  opacity: 0;
  animation: lineFloat 4s ease-in-out infinite;
}

.loader-line-1 { top: 20%; animation-delay: 0s; }
.loader-line-2 { top: 40%; animation-delay: 1s; }
.loader-line-3 { top: 60%; animation-delay: 2s; }
.loader-line-4 { top: 80%; animation-delay: 3s; }

@keyframes lineFloat {
  0%, 100% { opacity: 0; transform: scaleX(0); }
  50% { opacity: 1; transform: scaleX(1); }
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  transform: translateY(-80px);
}

.loader-logo-wrap {
  width: 120px;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Progress Ring SVG */
.loader-progress-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 2;
}

.progress-ring-circle {
  fill: none;
  stroke: url(#loader-gradient);
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 0.1s ease-out;
  filter: drop-shadow(0 0 6px rgba(0, 85, 255, 0.5));
}

.loader-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.8);
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 0 20px rgba(0, 85, 255, 0.3));
}

.loader-logo-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0, 85, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.loader-words {
  height: 3.5rem;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 320px;
}

.loader-words span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(40px);
  opacity: 0;
  font-family: "Creato Display", "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text);
  white-space: nowrap;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-words span.active {
  transform: translate(-50%, -50%) translateY(0);
  opacity: 1;
}

.loader-words span.exiting {
  transform: translate(-50%, -50%) translateY(-40px);
  opacity: 0;
}

.loader-tagline {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
}

/* Progress Bar */
.loader-progress-bar {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  z-index: 10;
}

.loader-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #4d7cff, var(--accent));
  background-size: 200% 100%;
  border-radius: 2px;
  animation: progressShine 2s linear infinite;
  box-shadow: 0 0 10px rgba(0, 85, 255, 0.5);
}

@keyframes progressShine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.loader-counter {
  font-family: "Creato Display", "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 7rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  position: absolute;
  bottom: 20px;
  right: 60px;
  opacity: 1;
  z-index: 10;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 40px rgba(0, 85, 255, 0.1);
}

.loader-percent {
  font-family: "Creato Display", "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 2rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  position: absolute;
  bottom: 85px;
  right: 25px;
  z-index: 10;
}

/* Marquee Background */
.loader-marquee-wrap {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  overflow: hidden;
  z-index: 1;
  opacity: 0.12;
  pointer-events: none;
}

.loader-marquee {
  display: flex;
  width: fit-content;
  animation: marqueeLoop 25s linear infinite;
}

.loader-marquee span {
  font-family: "Creato Display", "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 10vw;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  padding-right: 80px;
  text-transform: uppercase;
  line-height: 1;
}

@keyframes marqueeLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Subtle Grain Texture Overlay for Loader */
.loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  z-index: 4;
  pointer-events: none;
  opacity: 0.25;
}

/* Ambient Glow */
.loader::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 85, 255, 0.05) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
  animation: ambientPulse 4s ease-in-out infinite;
}

@keyframes ambientPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* Tablet */
@media (max-width: 768px) {
  .loader-counter {
    font-size: 4rem;
    bottom: 25px;
    right: 45px;
  }
  .loader-percent {
    font-size: 1.2rem;
    bottom: 55px;
    right: 20px;
  }
  .loader-marquee span {
    font-size: 12vw;
  }
  .loader-content {
    transform: translateY(-50px);
    gap: 1.5rem;
  }
  .loader-logo-wrap {
    width: 100px;
    height: 100px;
  }
  .loader-logo {
    width: 55px;
    height: 55px;
  }
  .loader-logo-glow {
    width: 80px;
    height: 80px;
  }
  .loader-words {
    height: 3rem;
    min-width: 180px;
  }
  .loader-words span {
    font-size: 1rem;
    letter-spacing: 3px;
  }
  .loader-tagline {
    font-size: 0.6rem;
    letter-spacing: 2px;
    max-width: 280px;
    text-align: center;
    line-height: 1.4;
  }
  .loader-progress-bar {
    width: 150px;
    bottom: 70px;
  }
  .loader::before {
    width: 300px;
    height: 300px;
  }
  .loader-lines {
    display: none;
  }
  .whatsapp-btn {
    bottom: 5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .loader-counter {
    font-size: 3rem;
    bottom: 20px;
    right: 35px;
  }
  .loader-percent {
    font-size: 1rem;
    bottom: 48px;
    right: 15px;
  }
  .loader-marquee span {
    font-size: 18vw;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  }
  .loader-content {
    transform: translateY(-40px);
    gap: 1.2rem;
    padding: 0 1rem;
  }
  .loader-logo-wrap {
    width: 90px;
    height: 90px;
  }
  .loader-logo {
    width: 50px;
    height: 50px;
  }
  .loader-logo-glow {
    width: 70px;
    height: 70px;
  }
  .loader-words {
    height: 2.5rem;
    min-width: 160px;
  }
  .loader-words span {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }
  .loader-tagline {
    font-size: 0.5rem;
    letter-spacing: 1.5px;
    max-width: 240px;
    padding: 0 0.5rem;
  }
  .loader-progress-bar {
    width: 120px;
    bottom: 60px;
  }
  .loader::before {
    width: 250px;
    height: 250px;
  }
}

