@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --bg-dark-1: #000000;
  --bg-dark-overlay: #050505;
  --text-main: #ffffff;
  --text-muted: #8b8f98;

  /* Requested Gradient Colors */
  --accent-1: #7543FA;
  --accent-2: #4B1AF9;

  --font-display: 'Syne', sans-serif;
  --font-ui: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  color: var(--text-main);
  font-family: var(--font-ui);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-dark-1);
  max-width: 100%;
}

/* Hide default cursor everywhere */
body,
a,
button,
.menu-btn {
  cursor: none !important;
}

/* =========================================
   LENIS SMOOTH SCROLL BOILERPLATE
========================================= */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Custom Cursor Styling */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  /* Small starting size */
  height: 20px;
  border-radius: 50%;
  background-color: white;
  mix-blend-mode: difference;
  pointer-events: none;
  /* Prevents the circle from blocking your clicks */
  z-index: 10000;
  transform: translate(-50%, -50%);
  /* Centers the div exactly on the mouse coordinates */
  will-change: transform;
}

/* =========================================
   FULL-SCREEN "MONOLITH FRACTURE" COVER
========================================= */
.monolith-transition {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Starts pre-staged completely off-screen to the right */
  transform: translateX(0%);
}

.mono-slab {
  position: absolute;
  left: 0;
  width: 100vw;
  height: 50.5vh;
  background: var(--accent-2);
  /* Pure obsidian blackout */
  will-change: transform;
}

.mono-top {
  top: 0;
}

.mono-bottom {
  bottom: 0;
}

.mono-label-box {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 10px 30px;
}

.mono-page-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -1.5px;
  text-transform: uppercase;
  display: block;
  text-align: center;
}

/* --- 3D CARD PRELOADER --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #101010;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  /* 3D Properties */
  transform-style: preserve-3d;
  perspective: 1500px;
  transform-origin: center center;
  will-change: transform, border-radius, opacity;
}

.counter {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -2px;
  will-change: transform, opacity;
  z-index: 2;
}

.gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 120vh;
  z-index: -1;
  background-image: url('../images/gradient.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  pointer-events: none;
}

/* --- Navigation & Menu Button --- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 5%;
  z-index: 100;
  background: transparent;
  transition: background-color 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease;
}

.top-nav.scrolled {
  padding: 16px 5%;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/*.logo {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 10px;*/
/*  font-family: var(--font-display);*/
/*  font-weight: 600;*/
/*  font-size: 1.5rem;*/
/*  letter-spacing: -0.5px;*/
/*  cursor: pointer;*/
/*}*/

/*.logo-icon {*/
/*  width: 16px;*/
/*  height: 24px;*/
/*  background: linear-gradient(to bottom, #fff, #888);*/
/*  border-radius: 4px 12px 12px 4px;*/
/*}*/

.nav-logo {
  height: 60px;
  width: 60px;
  overflow: hidden;
}
.nav-logo img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.menu-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.menu-btn:hover {
  background: var(--text-main);
  color: var(--bg-dark-1);
  transform: scale(1.05);
}

/* --- Full Screen Menu Overlay --- */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background-color: #111;
  z-index: 200;
  display: flex;
  flex-direction: column;
  -webkit-clip-path: circle(0px at calc(100% - 80px) 50px);
  clip-path: circle(0px at calc(100% - 80px) 50px);
  pointer-events: none;
}

.menu-overlay.active {
  pointer-events: all;
}

.menu-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 5%;
  width: 100%;
}

.menu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  margin-top: 40px;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-link-wrapper {
  overflow: hidden;
}

.menu-links a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4rem);
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -2px;
  transition: color 0.3s ease, -webkit-text-stroke 0.3s ease, padding-left 0.3s ease;
}

.menu-links a:not(.menu-cta-text):hover {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text-main);
  padding-left: 20px;
}

.menu-cta-text {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  color: var(--accent-1) !important;
}

.menu-cta-text:hover {
  color: var(--text-main) !important;
  padding-left: 0 !important;
}

.menu-footer {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-bottom: 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

/* 3. Hero Layout */
.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  max-width: 1440px;
  margin: 0 auto;
  padding: 160px 5% 120px;
  align-items: start;
  position: relative;
  z-index: 15;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 32px;
  color: var(--text-main);
  letter-spacing: 1px;
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 32px;
}

.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}

.reveal-text {
  display: block;
  transform: translateY(120%) rotateZ(5deg);
  transform-origin: top left;
  will-change: transform;
}

.inline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text-main);
  border-radius: 100px;
  width: 100px;
  height: 50px;
  vertical-align: middle;
  margin: 0 8px;
  transform: translateY(-5px);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
  font-weight: 500;
}

/* 4. Right Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  perspective: 1200px;
}

.scroll-badge {
  position: absolute;
  top: 10%;
  left: 45%;
  width: 170px;
  height: 170px;
  z-index: 40;
}

.badge-text-svg {
  width: 100%;
  height: 100%;
  animation: spinSlow 15s linear infinite;
}

.badge-text-svg text {
  fill: var(--text-main);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
}

.badge-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-main);
}

.mobile-mockup {
  width: 330px;
  height: auto;
  background: #000;
  border-radius: 50px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 30;
  transform-style: preserve-3d;
  will-change: transform;
}

.mobile-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

@keyframes spinSlow {
  100% {
    transform: rotate(360deg);
  }
}

/* 5. Tilted Infinite Marquee */
.tape-marquee {
  position: absolute;
  bottom: 120px;
  left: -5%;
  width: 110%;
  background: black;
  color: #ffffff;
  padding: 18px 0;
  transform: rotate(-4deg);
  z-index: -1;
  border: 1px solid #1a1a1a;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollTape 20s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 2px;
  padding-right: 15px;
}

@keyframes scrollTape {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --- Hero CTA Button --- */
.hero-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s ease;
}

/* The liquid gradient that rises from the bottom */
.btn-bg-fill {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); */
  border-radius: 100px;
  background-color: white;
  transition: top 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 0;
}

/* Wrapper to hide the text scrolling outside the bounds */
.btn-text-overflow {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 1.2em;
  z-index: 1;
}

.btn-text-normal,
.btn-text-hover {
  display: block;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  line-height: 1.2em;
}

.btn-text-hover {
  position: absolute;
  top: 100%;
  left: 0;
  color: black;
}

.btn-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

/* --- The Hover Interaction --- */
.hero-cta-btn:hover {
  border-color: transparent;
}

.hero-cta-btn:hover .btn-bg-fill {
  top: 0;
}

.hero-cta-btn:hover .btn-text-normal,
.hero-cta-btn:hover .btn-text-hover {
  transform: translateY(-100%);
}

.hero-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
  color: black;

}

/* =========================================
   UNIVERSAL INTERNAL HERO DOWNWARD SPREAD
========================================= */
.page-hero-spread {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  /* Sits safely behind your hero typography */

  background:
    /* 1. The downward spreading aurora pour */
    radial-gradient(ellipse 140% 110% at 50% -10%,
      rgba(180, 140, 255, 0.45) 0%,
      /* Soft lavender top impact */
      rgba(117, 67, 250, 0.55) 25%,
      /* Deep purple main fan */
      rgba(75, 26, 249, 0.35) 55%,
      /* Electric blue dissipate */
      transparent 85%),
    /* 2. The pure black floor push-back */
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.85) 75%, #000000 100%);

  will-change: transform, opacity;
}

/* --- RESPONSIVE LAYOUT --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 140px;
    padding-bottom: 140px;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .subtitle {
    margin: 0 auto;
  }

  .tape-marquee {
    bottom: -80px;
  }

  .scroll-badge {
    display: none;
  }
}

@media (max-width: 768px) {

  .top-nav,
  .menu-nav {
    padding: 24px 5%;
  }

  .hero-container {
    padding-top: 120px;
    padding-bottom: 100px;
  }

  .headline {
    font-size: clamp(3.2rem, 12vw, 4.5rem);
  }

  .hero-visual {
    height: 600px;
    perspective: 2500px;
  }

  .mobile-mockup {
    width: 310px;
    border-radius: 42px;
    border-width: 6px;
    margin-top: 100px;
  }

  .scroll-badge {
    display: none;
  }

  .tape-marquee {
    padding: 14px 0;
    bottom: -100px;
    background: var(--accent-2);
    border: 1px solid #fff;
    display: none;
  }

  .marquee-track span {
    font-size: 1.3rem;
  }

  .menu-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .inline-pill {
    display: none;
  }

  .hero-cta-btn {
    background: white;
    color: black;
    font-size: 1rem;
    padding: 12px 24px;
  }

  .custom-cursor {
    display: none;
  }
}

/* --- Floating Cards (Stats) --- */
.fc {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.371);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--text-muted);
  border-radius: 14px;
  white-space: nowrap;
  z-index: 40;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.fc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: white;
}

.fc-icon svg {
  width: 16px;
  fill: none;
  height: 16px;
  stroke: var(--accent-1);
}

.fc-label {
  font-family: "Montserrat";
  font-size: 11px;
  color: white;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fc-val {
  font-family: "Montserrat";
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

#fc1 {
  top: 18%;
  right: 5%;
}

#fc2 {
  bottom: 28%;
  left: 5%;
}

#fc3 {
  bottom: 12%;
  right: 10%;
}

#fc4 {
  top: 40%;
  left: -2%;
}

@media (max-width: 768px) {
  .fc {
    padding: 8px 12px;
    gap: 8px;
    border-radius: 10px;
  }

  .fc-icon {
    width: 28px;
    height: 28px;
  }

  .fc-icon svg {
    width: 12px;
    height: 12px;
  }

  .fc-label {
    font-size: 9px;
  }

  .fc-val {
    font-size: 13px;
  }

  #fc1 {
    top: 12%;
    right: 0%;
  }

  #fc2 {
    bottom: 35%;
    left: 0%;
  }

  #fc3 {
    bottom: 18%;
    right: 5%;
  }

  #fc4 {
    top: 45%;
    left: -2%;
  }

}

/* --- Floating Background Shapes (Parallax) --- */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.shape {
  position: absolute;
  will-change: transform;
}

/* 1. Hollow Circle */
.shape-1 {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 1);
  top: 15%;
  left: 8%;
  filter: blur(1px);
}

/* 2. Solid Triangle */
.shape-2 {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 1);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  top: 22%;
  right: 12%;
  filter: blur(4px);
}

/* 3. Tech Cross / Plus */
.shape-3 {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 1);
  clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%);
  top: 55%;
  left: 4%;
}

/* 4. Soft Rounded Square */
.shape-4 {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 1);
  border-radius: 5px;
  bottom: 15%;
  right: 6%;
}

/* 5. Classic Small Dot */
.shape-5 {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 1);
  border-radius: 50%;
  bottom: 25%;
  left: 30%;
}

/* 6. Diamond */
.shape-6 {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 1);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  top: 12%;
  left: 45%;
}

/* 7. Hexagon */
.shape-7 {
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  top: 40%;
  right: 35%;
}

@media (max-width: 768px) {

  .shape-2,
  .shape-4 {
    display: none;
  }
}

/* =========================================
   ARCHITECTURAL SWISS GRID ABOUT SECTION
========================================= */
.swiss-about {
  position: relative;
  width: 100%;
  background: var(--bg-dark-1);
  color: var(--text-main);
  z-index: 10;
  padding: 200px 5%;
}

.swiss-container {
  max-width: 1440px;
  margin: 0 auto;
  /* The outer border of the entire grid */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.swiss-row {
  display: flex;
  width: 100%;
}

.row-border-bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cell-border-right {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.swiss-cell {
  padding: 60px;
  display: flex;
}

/* Strict Widths */
.full-width {
  width: 100%;
}

.width-60 {
  width: 60%;
}

.width-40 {
  width: 40%;
}

.width-25 {
  width: 25%;
}

/* Utilities */
.flex-col-center {
  flex-direction: column;
  justify-content: center;
}

.accent-bg {
  background: var(--accent-1);
}

.text-black {
  color: #000 !important;
}

/* Masking for Animations */
.mask-wrap {
  overflow: hidden;
  padding-bottom: 0.1em;
}

.sg-reveal {
  display: block;
  transform: translateY(110%);
  will-change: transform;
}

/* Row 1 Typography */
.swiss-huge-text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 8rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -2px;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 2px white;
}

/* Row 2 Content */
.swiss-img-box {
  width: 100%;
  height: 600px;
  overflow: hidden;
  /* Starts hidden for the GSAP wipe */
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}

.swiss-img {
  width: 100%;
  height: 120%;
  /* Space for parallax */
  object-fit: cover;
  filter: grayscale(20%);
  /* Editorial look */
  will-change: transform;
}

.swiss-eyebrow {
  font-family: var(--font-display);
  color: var(--accent-1);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.swiss-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 30px;
}

.swiss-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.swiss-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-1);
  padding-bottom: 5px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.swiss-link:hover {
  gap: 15px;
  color: var(--accent-1);
}

/* Row 3 Stats */
.swiss-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.swiss-stat h4 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.swiss-stat span {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Responsive Structural Breakdown */
@media (max-width: 1024px) {
  .swiss-row {
    flex-direction: column;
  }

  .width-60,
  .width-40,
  .width-25 {
    width: 100%;
  }

  .cell-border-right {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .swiss-cell {
    padding: 40px 5%;
  }

  .swiss-img-box {
    height: 400px;
  }

  .swiss-about {
    padding-top: 100px;
    padding-bottom: 0;
  }
}

/* =========================================
   ABOUT HERO: CLEAN STANDARD MOBILE LAYOUT
========================================= */
@media (max-width: 768px) {

  /* 1. Clean vertical hero container matching Services & Contact pages */
  .ac-hero-section {
    /* min-height: 100svh !important; */
    height: max-content !important;
    padding: 160px 5% 100px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-dark-1) !important;
    padding-bottom: 80px !important;
  }

  .ac-hero-section.page-hero-spread {
    display: block;
  }

  /* 2. Completely REMOVE the image container on mobile screens */
  .ac-hero-img-container {
    display: none !important;
  }

  /* 3. Completely REMOVE the scroll pill indicator on mobile screens */
  .ac-scroll-pill {
    display: none !important;
  }

  /* 4. Perfectly layout the Eyebrow, Title, and Subtitle centered */
  .ac-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left !important;
    margin: 0 auto;
    padding: 0;
  }

  .ac-eyebrow {
    font-size: 0.9rem !important;
    letter-spacing: 2px;
    margin-bottom: 20px !important;
    text-align: center;
  }

  .ac-title {
    font-size: 2rem !important;
    line-height: 1.1 !important;
    letter-spacing: -1.5px;
    margin-bottom: 24px !important;
    text-align: left !important;
  }

  .ac-hero-section .ac-desc {
    display: block !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: var(--text-muted) !important;
    max-width: 600px;
    margin: 0 auto !important;
    text-align: center !important;
    padding: 0 10px;
  }

  .ac-vision-section {
    padding-top: 0 !important;
  }
}

/* =========================================
   COMMAND CENTER INSIGHTS (SPLIT LAYOUT)
========================================= */
.split-insights {
  position: relative;
  background-color: var(--bg-dark-1);
  color: var(--text-main);
  padding: 100px 5% 150px;
  z-index: 10;
}

.si-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 350px 1fr;
  /* Strict split layout */
  gap: 80px;
  align-items: start;
}

/* GSAP Start State */
.si-reveal {
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
}

/* --- LEFT PANEL: STICKY GLASSMORPHISM --- */
.si-left {
  position: relative;
  height: 100%;
}

.si-sticky-panel {
  position: sticky;
  top: 120px;
  /* Locks to the screen 120px from the top */
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.si-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.si-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.si-info h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.si-info p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
}

.si-metrics-stack {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.si-metric-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.si-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  font-weight: 600;
}

.si-val {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

/* --- RIGHT PANEL: DATA LISTS --- */
.si-right {
  display: flex;
  flex-direction: column;
}

.si-right-header h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.si-chart-group {
  padding-bottom: 50px;
  margin-bottom: 50px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.si-chart-group h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-1);
  margin-bottom: 30px;
}

.si-chart-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.si-data-labels {
  display: flex;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.si-data-labels span:last-child {
  color: var(--text-muted);
}

/* The Segmented Data Track Magic */
.si-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.si-fill {
  height: 100%;
  width: 0%;
  /* Animates via GSAP */
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  /* Creates the "Dashed LED" look without using images */
  -webkit-mask-image: repeating-linear-gradient(to right, black 0, black 6px, transparent 6px, transparent 10px);
  mask-image: repeating-linear-gradient(to right, black 0, black 6px, transparent 6px, transparent 10px);
  border-radius: 4px;
}

/* Mobile Breakpoints */
@media (max-width: 1024px) {
  .si-container {
    grid-template-columns: 1fr;
    /* Stacks vertically on smaller screens */
    gap: 50px;
  }

  .si-sticky-panel {
    position: relative;
    top: 0;
  }

  .si-metrics-stack {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
  }

  .si-metric-block {
    width: 45%;
  }

}

@media (max-width: 600px) {
  .si-metric-block {
    width: 100%;
  }

  .split-insights {
    padding-bottom: 0;
  }
}

/* =========================================
   SERVICES (ASYMMETRICAL GRID)
========================================= */
.services-section {
  position: relative;
  padding: 150px 5%;
  background-color: var(--bg-dark-1);
  z-index: 10;
  padding-bottom: 0;
}

.services-section svg.path1 {
  position: absolute;
  top: -20%;
  left: 0;
  height: 100vw;
  width: 110vw;
  z-index: -10;
}

.services-section svg.path1 path {
  stroke-width: .8rem;
  z-index: -100;
  stroke: #4B1AF9;
}

.srv-container {
  max-width: 1300px;
  margin: 0 auto;
}

/* Header */
.srv-header {
  margin-bottom: 80px;
  /* max-width: 600px; */
}

.srv-eyebrow {
  font-family: var(--font-display);
  color: var(--accent-1);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.srv-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
}

/* Grid & Cards */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* The Asymmetrical Stagger */
.card-pos-1 {
  transform: translateY(0);
}

.card-pos-2 {
  transform: translateY(100px);
}

.card-pos-3 {
  transform: translateY(200px);
}

.srv-card {
  /* Required for GSAP reveal tracking */
  will-change: transform, opacity;
}

.srv-card-inner {
  position: relative;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 50px 40px;
  overflow: hidden;
  background: var(--bg-dark-1);

  transition: transform 0.4s ease, border-color 0.4s ease;
}

.srv-card-inner:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Massive Outline Number */
.srv-num {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 30px;
  /* Transparent with stroke */
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  transition: -webkit-text-stroke 0.4s ease;
}

.srv-card-inner:hover .srv-num {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
}

.srv-content {
  position: relative;
  z-index: 2;
}

.srv-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.srv-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.srv-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  border-bottom: 1px solid transparent;
  transition: gap 0.3s ease, color 0.3s ease;
}

.srv-card-inner:hover .srv-link {
  gap: 15px;
  color: var(--accent-1);
}

/* Hover Glow Effect */
.srv-glow {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.srv-card-inner:hover .srv-glow {
  opacity: 0.6;
}

/* GSAP Start State */
.srv-reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* --- Gradient CTA Button --- */
.srv-footer {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.srv-btn {
  margin-top: 0;
}


.btn-text,
.btn-icon {
  position: relative;
  z-index: 2;
}

/* Responsive */
/* Responsive */
@media (max-width: 1024px) {
  .srv-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Remove stagger on mobile */
  .card-pos-1,
  .card-pos-2,
  .card-pos-3 {
    transform: translateY(0);
  }

  /* --- MOBILE ACTIVE STATES --- */
  /* Show the glow by default */
  .srv-glow {
    opacity: 0.6;
  }

  /* Show the brighter outline number by default */
  .srv-num {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
  }

  /* Show the extended link arrow and colored text by default */
  .srv-link {
    gap: 15px;
    color: var(--accent-1);
  }

  /* Disable the hover jump effect on mobile to prevent jittering when tapped */
  .srv-card-inner:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.08);
    /* Keeps original border */
  }

  .services-section svg.path1 {
    display: none;
  }

  .services-section {
    padding-top: 50px;
  }

  .srv-grid {
    padding-bottom: 0;
  }
}

/* =========================================
   CREATIVE PORTFOLIO (STATIC HOVER CAPTIONS)
========================================= */
.portfolio-section {
  position: relative;
  padding: 150px 0;
  z-index: 10;
  overflow: hidden;
}

.portfolio-section .path2 {
  position: absolute;
  top: -5%;
  /* Changed from -30% so it starts right at the top */
  left: 0;
  height: 100%;
  /* PERFECTLY matches the section height now */
  width: 100%;
  /* Keeps it from causing horizontal scrolling */
  z-index: -10;
}

.portfolio-section .path2 path {
  stroke-width: .8rem;
  stroke: #4B1AF9;
}

.port-container {
  max-width: 1440px;
  margin: 0 auto;
}

/* Header */
.port-header {
  padding: 0 5%;
  margin-bottom: 100px;
}

.port-eyebrow {
  font-family: var(--font-display);
  color: var(--accent-1);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.port-heading {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text-main);
}

/* Rows */
.port-row {
  margin-bottom: 120px;
}

.port-row:last-child {
  margin-bottom: 0;
}

.port-row-header {
  padding: 0 5%;
  margin-bottom: 30px;
}

.port-row-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Horizontal Track & Edge Mask */
.port-track-wrapper {
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.port-track {
  display: flex;
  gap: 40px;
  padding: 0 5% 60px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.port-track::-webkit-scrollbar {
  display: none;
}

/* Base Card Styling (No hover transforms) */
.port-card {
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: border-color 0.4s ease;
}

/* Asymmetrical Stagger */
.port-card:nth-child(even) {
  transform: translateY(40px);
}

.port-track .port-card:hover {
  border-color: var(--accent-1);
}

.port-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s ease;
  filter: brightness(0.85);
  /* Slightly dimmed by default */
}

/* Darken image on hover to make caption readable */
.port-card:hover img {
  filter: brightness(0.3);
}

/* --- THE CAPTION OVERLAY --- */
.port-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Push text to the bottom */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  /* Prevents text selection from interfering with hover */
}

.port-card:hover .port-caption {
  opacity: 1;
}

/* Caption Typography */
.caption-tag {
  color: var(--accent-1);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.caption-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.1;
}

.caption-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
}

/* Specific Aspect Ratios */
.card-post {
  width: 320px;
  aspect-ratio: 3 / 4;
}

.card-reel {
  width: 280px;
  aspect-ratio: 9 / 16;
}

.card-carousel {
  width: 380px;
  aspect-ratio: 4 / 5;
}

/* GSAP Start State */
.port-reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .port-row {
    margin-bottom: 80px;
  }

  .card-post {
    width: 260px;
  }

  .card-reel {
    width: 220px;
  }

  .card-carousel {
    width: 280px;
  }

  .port-track {
    gap: 20px;
    padding-bottom: 20px;
  }

  /* Remove stagger on mobile */
  .port-card:nth-child(even) {
    transform: translateY(0);
  }

  /* Always show captions on mobile since there is no hover */
  .port-caption {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    padding: 25px 20px;
    display: none;
  }

  .port-card img {
    filter: brightness(1);
  }

  .caption-title {
    font-size: 1.4rem;
  }

  .port-track-wrapper {
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
  }

  .portfolio-section .path2 {
    display: none;
  }
}

/* =========================================
   BLOGS & INSIGHTS SECTION
========================================= */
.blogs-section {
  position: relative;
  padding: 150px 5%;
  background-color: var(--bg-dark-1);
  z-index: 10;
  padding-top: 0;
}

.blog-container {
  max-width: 1300px;
  margin: 0 auto;
}

/* Header */
.blog-header {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.blog-eyebrow {
  font-family: var(--font-display);
  color: var(--accent-1);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.blog-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text-main);
}

/* Grid layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

/* Blog Cards (Matching your premium glass theme) */
.blog-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Image Container */
.bc-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  /* Perfect cinematic crop */
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .bc-img-wrap img {
  transform: scale(1.08);
  /* Smooth zoom inside the card on hover */
}

/* Text Content */
.bc-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.bc-tag {
  color: var(--accent-1);
  /* Your purple */
}

.bc-date {
  color: var(--text-muted);
}

.bc-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 30px;
  color: var(--text-main);
}

.bc-link {
  margin-top: auto;
  /* Pushes link to the bottom of the card */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.blog-card:hover .bc-link {
  gap: 14px;
  color: var(--accent-1);
}

/* GSAP Start State */
.blog-reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* Footer / Button Area */
.blog-footer {
  display: flex;
  justify-content: center;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* Hide the 3rd card on tablets to keep the grid perfectly balanced */
  .blog-card:nth-child(3) {
    display: none;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card:nth-child(3) {
    display: flex;
    /* Bring the 3rd card back for single-column mobile view */
  }
}

/* =========================================
   PRICING SECTION HEADER
========================================= */
.pc-header {
  text-align: center;
  margin-bottom: 60px;
  padding-top: 20px;
}

.pc-main-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

/* Subtle line to emphasize the section header */
.pc-main-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-1);
  margin: 20px auto 0;
  border-radius: 2px;
}

.pc-sub-title {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
}

.pricing-cards {
  padding: 120px 5%;
  background-color: var(--bg-dark-1);
  color: white;
  width: 100%;
  padding-top: 0;
}

.pc-container {
  max-width: 1300px;
  margin: 0 auto;
}

.pc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  /* This ensures cards start hidden before GSAP reveals them */
}

.pc-card {
  background: linear-gradient(180deg, var(--accent-1), transparent);
  border-radius: 24px;
  padding: 2px;
  /* Gradient border thickness */
  opacity: 0;
  /* Essential for the GSAP reveal */
  transform: translateY(30px);
}

.pc-inner {
  background: #0a0a0a;
  padding: 40px;
  border-radius: 22px;
  min-height: 520px;
  /* Forces cards to be substantial */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pc-inner h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.pc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 25px;
}

.pc-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-1);
  margin-bottom: 25px;
}

.pc-list {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pc-list li {
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pc-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border: 1px solid var(--accent-1);
  background: transparent;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s ease;
}

.pc-btn:hover {
  background: var(--accent-1);
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 1024px) {
  .pc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pc-grid {
    grid-template-columns: 1fr;
  }

  .pc-card {
    opacity: 1;
    transform: translateY(0);
  }

  .pricing-cards {
    padding-bottom: 0;
  }

  /* Always visible on mobile */
}

/* =========================================
   STICKY 3D STACK PROCESS SECTION
========================================= */
.stack-process-section {
  position: relative;
  padding: 150px 5%;
  background-color: var(--bg-dark-1);
  z-index: 10;
}

.sp-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styling */
.sp-header {
  text-align: center;
  margin-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sp-eyebrow {
  font-family: var(--font-display);
  color: var(--accent-1);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.sp-heading {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 20px;
}

.sp-subtitle {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  line-height: 1.6;
}

/* 
   The Magic Stacking Wrapper 
   Extra padding at the bottom allows the last card to scroll up fully
*/
.sp-cards-wrapper {
  position: relative;
  padding-bottom: 100px;
}

/* The Sticky Wrapper for Each Card */
.sp-card {
  position: sticky;
  top: 150px;
  /* Where the card locks into place on the screen */
  padding-bottom: 40px;
  /* Space between stacked cards */
  will-change: transform;
}

/* Creating the tiered stacking visual offset */
.sp-card:nth-child(1) {
  top: 150px;
}

.sp-card:nth-child(2) {
  top: 170px;
}

.sp-card:nth-child(3) {
  top: 190px;
}

.sp-card:nth-child(4) {
  top: 210px;
}

.sp-card:nth-child(5) {
  top: 230px;
}

/* The Actual Glass Card */
.sp-card-inner {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  gap: 80px;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.5);
  /* Casts shadow on card below it */
  transform-origin: top center;
  /* Critical for the 3D scale down effect */
  will-change: transform, opacity, filter;
}

/* The Giant Numbers */
.sp-num-wrap {
  position: relative;
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-num {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 2;
  line-height: 1;
}

/* Huge background shadow number for depth */
.sp-num-bg {
  position: absolute;
  font-family: var(--font-display);
  font-size: 16rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.03);
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Text Content */
.sp-content {
  width: 70%;
}

.sp-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.sp-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Reveal State for Header */
.sp-reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */
@media (max-width: 1024px) {
  .sp-card-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding: 60px 40px;
  }

  .sp-num-wrap {
    width: 100%;
  }

  .sp-content {
    width: 100%;
  }

  .sp-title {
    font-size: 2rem;
  }

  .sp-num-bg {
    font-size: 12rem;
  }
}

@media (max-width: 768px) {
  .stack-process-section {
    padding: 100px 5%;
  }

  .sp-card-inner {
    padding: 40px 20px;
  }

  .sp-num {
    font-size: 5rem;
  }

  .sp-num-bg {
    font-size: 8rem;
  }

  .sp-title {
    font-size: 1.6rem;
  }

  .sp-desc {
    font-size: 1rem;
  }

  /* Adjust sticky top values for smaller screens */
  .sp-card {
    top: 100px;
    padding-bottom: 20px;
  }

  .sp-card:nth-child(1) {
    top: 100px;
  }

  .sp-card:nth-child(2) {
    top: 115px;
  }

  .sp-card:nth-child(3) {
    top: 130px;
  }

  .sp-card:nth-child(4) {
    top: 145px;
  }

  .sp-card:nth-child(5) {
    top: 160px;
  }

  .sp-cards-wrapper {
    padding-bottom: 0;
  }
}

/* =========================================
   SPLIT GLASS LEDGER CONTACT SECTION
========================================= */
.split-contact-section {
  position: relative;
  padding: 150px 5%;
  background-color: var(--bg-dark-1);
  z-index: 10;
  padding-top: 0;
}

.splt-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  /* Creates the left/right split */
  gap: 100px;
  align-items: start;
}

/* --- LEFT COLUMN: INFO --- */
.splt-left {
  position: sticky;
  top: 150px;
  /* Locks the text in place on desktop while scrolling the form */
}

.splt-badge {
  display: inline-block;
  padding: 8px 16px;
  color: var(--accent-1);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 30px;
}

.splt-heading {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5vw, 5rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -2px;
}

.splt-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.splt-block h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.splt-block p,
.splt-block a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.splt-block a:hover {
  color: var(--accent-1);
}

/* --- RIGHT COLUMN: THE FORM --- */
.splt-right {
  width: 100%;
}

.sgl-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* The Glass Ledger Inputs */
.sgl-input-group {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.sgl-glow-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
  transform: translateX(-100%);
  opacity: 0;
  transition: all 0.5s ease;
}

.sgl-input-group label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.sgl-input-group input,
.sgl-input-group textarea {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  resize: none;
  width: 100%;
}

.sgl-input-group input::placeholder,
.sgl-input-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.1);
}

/* Focus Animations for Inputs */
.sgl-input-group:focus-within {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.sgl-input-group:focus-within label {
  color: var(--accent-1);
}

.sgl-input-group:focus-within .sgl-glow-border {
  transform: translateX(0%);
  opacity: 1;
}

/* Form Button */
.sgl-submit-wrap {
  margin-top: 20px;
}

.sgl-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  color: black;
  border: none;
  border-radius: 16px;
  padding: 20px 25px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.sgl-btn-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sgl-btn-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--bg-dark-1);
  color: white;
  border-radius: 50%;
  transition: transform 0.4s ease, background 0.4s ease;
}

.sgl-btn:hover {
  background: var(--accent-1);
  color: white;
  box-shadow: 0 10px 30px rgba(117, 67, 250, 0.3);
}

.sgl-btn:hover .sgl-btn-icon {
  background: white;
  color: var(--accent-1);
  transform: rotate(-45deg);
}

/* Starting state for GSAP */
.splt-reveal,
.sgl-input-group,
.sgl-submit-wrap {
  opacity: 0;
  transform: translateY(30px);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 960px) {
  .splt-container {
    grid-template-columns: 1fr;
    /* Stacks the columns */
    gap: 60px;
  }

  .splt-left {
    position: relative;
    top: 0;
  }

  .splt-heading {
    font-size: 3.5rem;
  }

  .splt-info {
    flex-direction: row;
    /* Puts info blocks side-by-side on tablet/mobile */
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .splt-info {
    flex-direction: column;
    /* Stacks info blocks on very small screens */
    gap: 30px;
  }

  .splt-heading {
    font-size: 2.8rem;
  }

  .split-contact-section {
    padding-bottom: 50px;
  }
}

/* =========================================
   MODERN MINIMAL FOOTER
========================================= */
.modern-footer {
  position: relative;
  padding: 120px 5% 40px;
  background-color: #000000;
  /* Solid black base */
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

/* The Top-to-Bottom Spreading Layer */
.mf-top-spread-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;

  background:
    /* 1. The downward spreading color fan (Lavender tip -> Purple belly -> Blue dissipate) */
    radial-gradient(ellipse 140% 110% at 50% -10%,
      rgba(180, 140, 255, 0.45) 0%,
      /* Soft lavender right at the top impact point */
      rgba(117, 67, 250, 0.55) 25%,
      /* Deep purple main spread */
      rgba(75, 26, 249, 0.35) 55%,
      /* Electric blue outer bleed */
      transparent 85%),
    /* 2. The harsh black floor gradient pushing back up */
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.9) 65%, #000000 100%);

  will-change: transform, opacity;
}

/* Content sits securely above the light pour */
.mf-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* --- Top CTA Section --- */
.mf-cta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.mf-cta-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.mf-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: black;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mf-cta-btn:hover {
  background: var(--accent-1);
  color: white;
}

.mf-cta-btn span {
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}

.mf-cta-btn:hover span {
  transform: rotate(0deg);
}

/* --- Divider --- */
.mf-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 80px;
}

/* --- Main Grid --- */
.mf-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  /* 4 columns with balanced sizing */
  gap: 40px;
  margin-bottom: 80px;
}

.mf-brand p {
  margin-top: 20px;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.mf-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.mf-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mf-col a,
.mf-col li {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mf-col a:hover {
  color: var(--accent-1);
}

.mf-time {
  color: var(--accent-1) !important;
  font-weight: 600;
}

/* --- Bottom Row --- */
.mf-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mf-bottom p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mf-back-top {
  background: transparent;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mf-back-top:hover {
  color: white;
}

/* GSAP Start State */
.mf-reveal {
  opacity: 0;
  transform: translateY(20px);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
  .mf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .mf-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .mf-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mf-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* =========================================
   CINEMATIC EXPANDING HERO
========================================= */
.ac-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-dark-1);
}

.ac-hero-section.page-hero-spread {
  display: none;
}

/* Image container starts smaller and grows on scroll */
.ac-hero-img-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  height: 60vh;
  border-radius: 30px;
  overflow: hidden;
  z-index: 1;
  will-change: width, height, border-radius;
}

.ac-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transform: scale(1.1);
  /* Slight zoom for parallax */
}

/* Dark gradient overlay so text remains readable */
.ac-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(5, 5, 5, 0.9) 100%);
}

.ac-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ac-hero-text-wrap {
  overflow: hidden;
  padding: 20px;
}

.ac-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--text-main);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ac-hero-section .ac-desc {
  display: none;
}

.ac-scroll-pill {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-1);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(117, 67, 250, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(117, 67, 250, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(117, 67, 250, 0);
  }
}

/* =========================================
   OVERLAPPING VISION SECTION
========================================= */
.ac-vision-section {
  padding: 150px 5%;
  background-color: var(--bg-dark-1);
  position: relative;
  z-index: 20;
}

.ac-container {
  max-width: 1300px;
  margin: 0 auto;
}

.ac-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Floating Imagery Layout */
.ac-vision-visuals {
  position: relative;
  height: 600px;
}

.ac-img-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  /* border: 1px solid rgba(255, 255, 255, 0.05); */
}

.ac-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-card-1 {
  width: 70%;
  height: 450px;
  top: 0;
  left: 0;
  z-index: 1;
}

.img-card-2 {
  width: 55%;
  height: 350px;
  bottom: 0;
  right: 0;
  z-index: 2;
}

/* Glassmorphism Text Panel */
.ac-vision-content {
  position: relative;
  z-index: 3;
  /* This pulls the text box over the images slightly for a 3D overlap */
  margin-left: -50px;
}

.ac-glass-panel {
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 60px 50px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ac-eyebrow {
  font-family: var(--font-display);
  color: var(--accent-1);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.ac-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
}

.text-center {
  text-align: center;
}

.ac-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.ac-stats-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ac-stat h3 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
}

.ac-stat span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   CREATIVE VALUES GRID
========================================= */
.ac-values-section {
  padding: 50px 5% 150px;
  background-color: var(--bg-dark-1);
}

.ac-values-header {
  margin-bottom: 80px;
}

.ac-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ac-value-card {
  position: relative;
  height: 400px;
  border-radius: 24px;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.ac-vc-inner {
  position: relative;
  z-index: 2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ac-vc-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  margin-bottom: auto;
  /* Pushes text to bottom */
  transition: all 0.4s ease;
}

.ac-vc-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.1;
}

.ac-vc-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* The creative hover glow */
.ac-vc-glow {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--accent-1);
  filter: blur(60px);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.ac-value-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.ac-value-card:hover .ac-vc-glow {
  opacity: 0.3;
}

.ac-value-card:hover .ac-vc-num {
  color: var(--text-main);
  -webkit-text-stroke: 0px;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1024px) {
  .ac-hero-img-container {
    width: 80vw;
    height: 50vh;
  }

  .ac-vision-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .ac-vision-visuals {
    height: 500px;
  }

  .ac-vision-content {
    margin-left: 0;
    margin-top: -100px;
  }

  /* Pulls text up over images on tablet */
  .ac-values-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ac-value-card[style] {
    transform: translateY(0) !important;
  }

  /* Removes stagger on mobile */
  .ac-value-card {
    height: auto;
  }

  .ac-vc-num {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .ac-hero-img-container {
    width: 95vw;
    height: 60vh;
    border-radius: 20px;
  }

  .img-card-1 {
    width: 85%;
    height: 300px;
  }

  .img-card-2 {
    width: 70%;
    height: 250px;
  }

  .ac-vision-visuals {
    height: 400px;
  }

  .ac-glass-panel {
    padding: 40px 30px;
  }

  .ac-stats-row {
    flex-direction: column;
    gap: 20px;
  }
}

/* =========================================
   BLOGS: HERO SECTION
========================================= */
.bl-hero {
  position: relative;
  padding: 180px 5% 100px;
  background-color: var(--bg-dark-1);
  overflow: hidden;
}

.bl-ambient-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(117, 67, 250, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.bl-container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.bl-hero-content {
  max-width: 700px;
}

.bl-eyebrow {
  font-family: var(--font-display);
  color: var(--accent-1);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.bl-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text-main);
}

.bl-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
}

/* =========================================
   BLOGS: MAIN LAYOUT
========================================= */
.bl-layout-section {
  padding: 100px 5% 150px;
  background-color: var(--bg-dark-1);
}

.bl-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  /* Left feed, Right sidebar */
  gap: 80px;
  align-items: start;
}

/* =========================================
   BLOGS: CARDS & FEED
========================================= */
.bl-main-feed {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.bl-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.bl-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.bl-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.bl-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bl-card:hover .bl-img-wrap img {
  transform: scale(1.05);
}

.bl-tag-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bl-card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bl-meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bl-dot {
  color: var(--accent-1);
}

.bl-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.bl-card-title-sm {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.bl-card-excerpt {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.bl-read-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.bl-card:hover .bl-read-more {
  gap: 14px;
  color: var(--accent-1);
}

/* Featured Card Adjustments */
.bl-featured .bl-img-wrap {
  height: 450px;
}

/* Standard Grid */
.bl-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.bl-cards-grid .bl-img-wrap {
  height: 250px;
}

.bl-cards-grid .bl-card-content {
  padding: 30px;
}

/* =========================================
   BLOGS: PAGINATION
========================================= */
.bl-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bl-page-num,
.bl-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.bl-page-num:hover,
.bl-page-btn:hover {
  border-color: var(--accent-1);
  background: rgba(117, 67, 250, 0.1);
}

.bl-page-num.active {
  background: var(--accent-1);
  border-color: var(--accent-1);
}

.bl-page-dots {
  color: var(--text-muted);
  font-weight: 700;
}

/* =========================================
   BLOGS: SIDEBAR
========================================= */
.bl-sidebar {
  position: relative;
  height: 100%;
}

.bl-sticky-wrapper {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.bl-widget {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
}

.bl-widget-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bl-widget-title::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--accent-1);
  border-radius: 50%;
}

/* Search */
.bl-widget-search form {
  position: relative;
  display: flex;
}

.bl-widget-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 50px 16px 20px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.bl-widget-search input:focus {
  border-color: var(--accent-1);
}

.bl-widget-search button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.bl-widget-search button:hover {
  color: var(--accent-1);
}

/* Categories */
.bl-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bl-cat-list a {
  display: flex;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.3s ease;
}

.bl-cat-list a:hover {
  color: var(--text-main);
}

.bl-cat-list a span {
  color: var(--accent-1);
  font-family: var(--font-display);
  font-weight: 700;
}

/* Trending */
.bl-trending-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bl-trend-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 15px;
  text-decoration: none;
  group: hover;
}

.bl-trend-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.bl-trend-item p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.bl-trend-item:hover .bl-trend-num {
  color: var(--accent-1);
  -webkit-text-stroke: 0;
}

.bl-trend-item:hover p {
  color: var(--text-main);
}

/* Tags */
.bl-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bl-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.bl-tag:hover {
  border-color: var(--accent-1);
  color: white;
  background: rgba(117, 67, 250, 0.1);
}

/* Newsletter */
.bl-newsletter {
  background: linear-gradient(180deg, rgba(117, 67, 250, 0.1), transparent);
  border: 1px solid rgba(117, 67, 250, 0.3);
}

.bl-newsletter p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.bl-newsletter input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 20px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  outline: none;
  margin-bottom: 12px;
}

.bl-sub-btn {
  width: 100%;
  background: var(--text-main);
  color: var(--bg-dark-1);
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.bl-sub-btn:hover {
  background: var(--accent-1);
  color: white;
}

/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */
@media (max-width: 1100px) {
  .bl-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .bl-sticky-wrapper {
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .bl-widget-search {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bl-hero {
    padding: 150px 5% 80px;
  }

  .bl-title {
    font-size: 3rem;
  }

  .bl-cards-grid {
    grid-template-columns: 1fr;
  }

  .bl-featured .bl-img-wrap {
    height: 300px;
  }

  .bl-sticky-wrapper {
    grid-template-columns: 1fr;
  }

  .bl-widget-search {
    grid-column: span 1;
  }

  .bl-card-content {
    padding: 30px 20px;
  }

  .bl-pagination {
    flex-wrap: wrap;
  }
}

/* =========================================
   PORTFOLIO: LEFT-ALIGNED HERO
========================================= */
.pf-hero {
  position: relative;
  padding: 200px 5% 80px;
  background-color: var(--bg-dark-1);
  overflow: hidden;
}

.pf-ambient-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(117, 67, 250, 0.12) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.pf-container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.pf-hero-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Forced Left Alignment */
  text-align: left;
}

.pf-eyebrow {
  font-family: var(--font-display);
  color: var(--accent-1);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.pf-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text-main);
}

.pf-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
}

/* =========================================
   PORTFOLIO: SCROLLABLE LEFT TABS
========================================= */
/* =========================================
   PORTFOLIO: FLOATING GLASS TABS
========================================= */
.pf-gallery-section {
  padding: 40px 5% 150px;
  background-color: var(--bg-dark-1);
  min-height: 100vh;
}

.pf-tabs-wrapper {
  margin-bottom: 60px;
  /* Removed the bottom border for a cleaner floating look */
}

/* The Frosted Glass Container */
.pf-tabs-glass-pill {
  position: relative;
  display: inline-flex;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 8px;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

  /* Mobile horizontal scrolling */
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pf-tabs-glass-pill::-webkit-scrollbar {
  display: none;
}

/* The Buttons */
.pf-tab-btn {
  position: relative;
  z-index: 2;
  /* Sits above the sliding background */
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  cursor: pointer;
  transition: color 0.4s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.pf-tab-btn:hover {
  color: rgba(255, 255, 255, 0.9);
}

.pf-tab-btn.active {
  color: white;
  /* Contrast against the purple sliding pill */
}

/* The Number Badge */
.pf-count {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
  transition: background 0.4s ease, color 0.4s ease;
}

.pf-tab-btn.active .pf-count {
  background: rgba(255, 255, 255, 0.2);
  /* Softens against the active gradient */
  color: white;
}

/* THE MAGIC: Sliding Gradient Capsule */
.pf-tab-active-bg {
  position: absolute;
  top: 8px;
  left: 0;
  /* CHANGED FROM 8px TO 0 */
  height: calc(100% - 16px);
  width: 0;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border-radius: 100px;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(117, 67, 250, 0.4);
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .pf-tabs-glass-pill {
    padding: 6px;
    gap: 5px;
  }

  .pf-tab-btn {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .pf-tab-active-bg {
    top: 6px;
    left: 0;
    /* CHANGED FROM 6px TO 0 */
    height: calc(100% - 12px);
  }
}

/* =========================================
   PORTFOLIO: GRIDS & CARDS
========================================= */
.pf-tab-content {
  display: none;
  opacity: 0;
}

.pf-tab-content.active {
  display: block;
  opacity: 1;
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Strict Aspect Ratios */
.grid-posts .pf-card {
  aspect-ratio: 3 / 4;
}

.grid-reels .pf-card {
  aspect-ratio: 9 / 16;
}

.grid-carousels .pf-card {
  aspect-ratio: 4 / 5;
}

.pf-card {
  position: relative;
  background: #050505;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pf-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  filter: brightness(0.85);
}

.pf-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.3);
}

.pf-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-card:hover .pf-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.pf-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 20px;
  transition: border-color 0.4s ease;
}

.pf-card:hover::after {
  border-color: var(--accent-1);
}

.pf-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  color: var(--accent-1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: none;
}

.pf-card-title {
  font-family: "Montserrat";
  font-size: 1rem;
  font-weight: 400;
  color: white;
  line-height: 1.2;
}

.pf-icon-badge {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* =========================================
   PORTFOLIO: PAGINATION
========================================= */
.pf-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pf-page-numbers {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf-page-btn,
.pf-page-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.pf-page-btn {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pf-page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid transparent;
}

.pf-page-num:hover,
.pf-page-btn:hover {
  color: white;
}

.pf-page-num.active {
  border-color: var(--accent-1);
  background: rgba(117, 67, 250, 0.1);
  color: white;
}

.pf-page-dots {
  color: var(--text-muted);
}

/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */
@media (max-width: 1200px) {
  .pf-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .pf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .pf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .pf-hero {
    padding: 150px 5% 40px;
  }

  .pf-title {
    font-size: 3rem;
  }

  .pf-tabs-track {
    gap: 20px;
    padding-bottom: 15px;
  }

  .pf-pagination {
    flex-direction: column;
    gap: 30px;
  }

  /* Show overlays by default on mobile since there is no hover */
  .pf-card-overlay {
    opacity: 0;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 80%);
    padding: 15px 12px;
  }

  .pf-card-title {
    font-size: 0.8rem;
    color: #e0e0e0;
  }

  .pf-card img {
    filter: brightness(1);
  }
}

/* =========================================
   SERVICES (CARDS): HERO
========================================= */
.uc-hero {
  position: relative;
  padding: 200px 5% 100px;
  background-color: var(--bg-dark-1);
  text-align: center;
  overflow: hidden;
}

.uc-ambient-orb {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(117, 67, 250, 0.15) 0%, transparent 60%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.uc-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.uc-hero-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.uc-eyebrow {
  font-family: var(--font-display);
  color: var(--accent-1);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.uc-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text-main);
}

.uc-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
}

/* =========================================
   SERVICES: ALTERNATING CARDS
========================================= */
.uc-services-list {
  padding: 50px 5% 150px;
  background-color: var(--bg-dark-1);
}

.uc-card {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 150px;
  /* Space between cards */
}

.uc-card:last-child {
  margin-bottom: 0;
}

/* Base Image Wrap */
.uc-image-wrap {
  width: 60%;
  height: 600px;
  position: relative;
  overflow: hidden;
  /* Unique asymmetric shape */
  border-radius: 40px 10px 40px 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.uc-image-wrap img {
  width: 100%;
  height: 120%;
  /* Extra height for parallax */
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.5s ease;
}

.uc-card:hover .uc-image-wrap img {
  filter: grayscale(0%);
}

.uc-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.uc-huge-num {
  position: absolute;
  top: 30px;
  left: 30px;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);
  line-height: 1;
  z-index: 2;
  transition: -webkit-text-stroke 0.4s ease;
}

.uc-card:hover .uc-huge-num {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.9);
}

/* Base Content Panel (Glassmorphism) */
.uc-content-panel {
  width: 50%;
  /* Overlaps the 60% image slightly */
  position: relative;
  z-index: 5;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 60px 50px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.uc-card:hover .uc-content-panel {
  border-color: rgba(255, 255, 255, 0.2);
}

/* The subtle glowing gradient inside the card */
.uc-glow-accent {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(117, 67, 250, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0.5;
}

.uc-card:hover .uc-glow-accent {
  opacity: 1;
}

/* Typography inside card */
.uc-card-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 20px;
}

.uc-card-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.uc-card-points {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.uc-card-points li {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #e0e0e0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.uc-card-points li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent-1);
  border-radius: 50%;
}

/* Contact Button */
.uc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: white;
  padding: 16px 32px;
  border: 1px solid var(--accent-1);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.uc-btn:hover {
  background: var(--accent-1);
}

.uc-btn span {
  transition: transform 0.3s ease;
}

.uc-btn:hover span {
  transform: rotate(45deg);
}

/* =========================================
   ALTERNATING LAYOUT LOGIC
========================================= */
.uc-layout-left {
  justify-content: flex-start;
}

.uc-layout-left .uc-content-panel {
  margin-left: -10%;
  /* Pulls the glass card over the image */
}

.uc-layout-right {
  flex-direction: row-reverse;
}

.uc-layout-right .uc-content-panel {
  margin-right: -10%;
  /* Pulls the glass card over the image */
}

.uc-layout-right .uc-huge-num {
  left: auto;
  right: 30px;
  /* Put the number on the right for variety */
}

.uc-layout-right .uc-glow-accent {
  right: auto;
  left: -50px;
}

/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */
@media (max-width: 1024px) {
  .uc-image-wrap {
    width: 55%;
    height: 500px;
  }

  .uc-content-panel {
    width: 55%;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .uc-card {
    flex-direction: column !important;
    /* Forces stack */
    margin-bottom: 80px;
  }

  .uc-image-wrap {
    width: 100%;
    height: 350px;
    border-radius: 24px 24px 0 0;
    /* Flat bottom to connect to card */
    box-shadow: none;
  }

  .uc-content-panel {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: -30px;
    /* Slight overlap vertically */
    border-radius: 24px;
    padding: 40px 25px;
  }

  .uc-huge-num {
    font-size: 4rem;
    top: 20px;
    left: 20px !important;
    right: auto !important;
  }
}

/* =========================================
   CONTACT BENTO: HERO
========================================= */
.cb-hero {
  position: relative;
  padding: 180px 5% 40px;
  background-color: var(--bg-dark-1);
  text-align: center;
  overflow: hidden;
}

.cb-ambient-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 60vw;
  background: var(--bg-dark-1);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.cb-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cb-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cb-eyebrow {
  font-family: var(--font-display);
  color: var(--accent-1);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.cb-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text-main);
}

/* =========================================
   CONTACT BENTO: THE GRID
========================================= */
.cb-grid-section {
  padding: 40px 5% 150px;
  background-color: var(--bg-dark-1);
}

.cb-bento-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 24px;
}

/* Glass Card Base */
.cb-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.cb-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.cb-card-inner {
  padding: 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cb-card-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.cb-card-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Layout Mapping */
.cb-form-card {
  grid-column: 1 / 2;
  grid-row: 1 / 4;
  /* Spans the entire left side */
}

.cb-info-card {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.cb-social-card {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.cb-map-card {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  min-height: 250px;
}

/* =========================================
   BENTO: FLOATING LABEL FORM
========================================= */
.cb-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: auto;
}


.cb-input-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.cb-input-wrap input,
.cb-input-wrap textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  padding: 10px 0;
  z-index: 2;
  resize: none;
}

.cb-input-wrap label {
  position: absolute;
  top: 10px;
  left: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  transition: all 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

/* The magic floating label CSS */
.cb-input-wrap input:focus~label,
.cb-input-wrap input:valid~label,
.cb-input-wrap textarea:focus~label,
.cb-input-wrap textarea:valid~label {
  top: -20px;
  font-size: 0.75rem;
  color: var(--accent-1);
}

.cb-input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.cb-input-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-1);
  transition: width 0.4s ease;
}

.cb-input-wrap input:focus~.cb-input-line::after,
.cb-input-wrap textarea:focus~.cb-input-line::after {
  width: 100%;
}

.cb-submit-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  color: black;
  border: none;
  border-radius: 100px;
  padding: 16px 24px 16px 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  gap: 20px;
  margin-top: 20px;
}

.cb-submit-btn span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cb-submit-btn svg {
  transition: transform 0.3s ease;
}

.cb-submit-btn:hover {
  background: var(--accent-1);
  color: white;
}

.cb-submit-btn:hover svg {
  transform: rotate(45deg);
}

/* =========================================
   BENTO: & SOCIALS
========================================= */
.cb-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
}

.cb-info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cb-info-item span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.cb-info-item a,
.cb-info-item p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cb-info-item a:hover {
  color: var(--accent-1);
}

/* Socials */
.cb-social-card .cb-card-inner {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 40px 50px;
}

.cb-social-link {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.cb-social-link:hover {
  color: var(--accent-1);
}

.cb-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.cb-social-link:hover .cb-arrow {
  transform: translate(3px, -3px);
}

/* =========================================
   BENTO: MAP CARD
========================================= */
.cb-map-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) invert(92%) contrast(83%);
  pointer-events: none;
  /* Keeps it clean, removes accidental scrolling */
}

.cb-map-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cb-map-overlay span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
}

.cb-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-1);
  border-radius: 50%;
  animation: cb-pulse 2s infinite;
}

@keyframes cb-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(117, 67, 250, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(117, 67, 250, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(117, 67, 250, 0);
  }
}

/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */
@media (max-width: 1024px) {
  .cb-bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .cb-form-card {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .cb-info-card {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .cb-social-card {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .cb-map-card {
    grid-column: 1 / 2;
    grid-row: auto;
    height: 300px;
  }

  .cb-card-inner {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .cb-hero {
    padding: 150px 5% 40px;
  }

  .cb-title {
    font-size: 3rem;
  }

  .cb-form-row {
    flex-direction: column;
    gap: 40px;
  }

  .cb-card-inner {
    padding: 30px 20px;
  }

  .cb-social-card .cb-card-inner {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* =========================================
   SINGLE ARTICLE: HERO & META
========================================= */
.art-hero {
  position: relative;
  padding: 180px 5% 40px;
  background-color: var(--bg-dark-1);
  overflow: hidden;
}

.art-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.art-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.art-cat {
  color: var(--accent-1);
  font-weight: 700;
}

.art-meta-top .dot {
  color: rgba(255, 255, 255, 0.2);
}

.art-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.08;
  font-weight: 600;
  /* Strictly <= 700 */
  letter-spacing: -1.5px;
  color: var(--text-main);
  margin-bottom: 40px;
  max-width: 1100px;
  text-wrap: balance;
}

/* Author Row */
.art-author-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.art-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.art-author-details h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
}

.art-author-details h4 span {
  color: white;
}

.art-author-details p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-1);
  font-weight: 500;
  margin-top: 2px;
}

/* =========================================
   SINGLE ARTICLE: FEATURED IMAGE (UNCLIPPED)
========================================= */
.art-image-section {
  padding: 20px 5% 60px;
  background-color: var(--bg-dark-1);
}

.art-featured-frame {
  position: relative;
  width: 100%;
  max-height: 650px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  /* padding: 10px; */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.art-featured-frame img {
  width: 100%;
  max-height: 630px;
  object-fit: cover;
  /* CRITICAL: Never crops or stretches the photo */
  border-radius: 24px;
  filter: brightness(0.95);
}

.art-img-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  background: var(--bg-dark-1);
  color: var(--accent-1);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   SINGLE ARTICLE: PROSE & TYPOGRAPHY
========================================= */
.art-body-section {
  padding: 40px 5% 150px;
  background-color: var(--bg-dark-1);
}

.art-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.art-prose {
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: #d1d1d1;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  line-height: 1.75;
}

.art-prose p {
  margin: 0;
}

/* Larger intro paragraph */
.art-lead {
  font-size: 1.4rem;
  color: white;
  font-weight: 500;
  line-height: 1.6;
}

.art-prose h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-top: 40px;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.art-quote {
  position: relative;
  padding: 35px 40px;
  margin: 20px 0;
  background: rgba(117, 67, 250, 0.05);
  border-left: 4px solid var(--accent-1);
  border-radius: 0 24px 24px 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  line-height: 1.5;
}

.art-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 10px;
}

.art-bullet-list li {
  position: relative;
  padding-left: 28px;
}

.art-bullet-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent-1);
  font-size: 1rem;
}

.art-bullet-list strong {
  color: white;
  font-weight: 700;
}

/* --- TAGS & SOCIAL SHARE --- */
.art-share-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
}

.art-tags,
.art-share-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.art-share-row span {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.art-share-row a {
  color: white;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.art-share-row a:hover {
  background: var(--accent-1);
  border-color: var(--accent-1);
}

/* --- NEXT / PREV FOOTER --- */
.art-nav-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 60px;
}

.art-nav-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 35px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.4s ease;
}

.art-nav-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
}

.art-nav-card span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.art-nav-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

.next-card {
  text-align: right;
}

/* =========================================
   SINGLE ARTICLE: SIDEBAR & TOC
========================================= */
.art-sidebar-col {
  position: relative;
  height: 100%;
}

.art-sticky-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.art-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.art-toc-list a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.art-toc-list a:hover {
  color: white;
  transform: translateX(4px);
}

/* =========================================
   READING PROGRESS BAR (PINNED TOP)
========================================= */
.art-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  /* Adjusted live via JS */
  height: 4px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  z-index: 99999;
  pointer-events: none;
  box-shadow: 0 0 15px var(--accent-1);
}

/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */
@media (max-width: 1024px) {
  .art-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .art-sticky-sidebar {
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .art-toc-widget {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .art-hero {
    padding: 150px 5% 20px;
  }

  .art-title {
    font-size: 1.5rem;
  }

  .art-cat {
    font-size: 0.7rem;
  }

  .art-meta-top {
    font-size: 0.7rem;
  }

  .art-featured-frame {
    padding: 5px;
    border-radius: 20px;
  }

  .art-featured-frame img {
    border-radius: 16px;
  }

  .art-prose {
    font-size: 1.05rem;
    gap: 20px;
  }

  .art-prose h2 {
    font-size: 1.6rem;
    margin-top: 30px;
  }

  .art-quote {
    font-size: 1.15rem;
    padding: 25px;
  }

  .art-nav-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .next-card {
    text-align: left;
  }

  .art-sticky-sidebar {
    grid-template-columns: 1fr;
  }

  .art-toc-widget {
    grid-column: span 1;
  }
} 