/* ══════════════════════════════════════════════════════════════
   REVV STUDIOS — GALAXY / MATTE-BLACK THEME
   ══════════════════════════════════════════════════════════════ */
:root {
  --bg: #050507;
  --bg-2: #0a0813;
  --section: #08070d;
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.075);
  --text: #f3f2f9;
  --text-2: #adb0c9;
  --text-3: #7d8099;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.24);
  --primary: #8b6cf2;
  --primary-dark: #6d4fd1;
  --accent: #35e6c8;
  --nebula-pink: #ff6ec7;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5), 0 3px 8px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.65), 0 10px 24px rgba(0, 0, 0, 0.4);
  --glow-primary: 0 0 24px rgba(139, 108, 242, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.eyebrow {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
img,
video {
  max-width: 100%;
  display: block;
}
section {
  position: relative;
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}
::selection {
  background: var(--primary);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   GALAXY BACKGROUND SYSTEM
   Fixed starfield canvas + drifting nebula glows + matte grain.
   Replaces the old per-section video/lottie "cinematic" system.
   ══════════════════════════════════════════════════════════════ */
#galaxyCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  background: var(--bg);
  display: block;
}
.nebula-layer {
  position: fixed;
  inset: -10vh -10vw;
  z-index: -2;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.65;
  will-change: transform;
}
.nebula-layer span {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.nebula-layer span.n1 {
  width: 46vw;
  height: 46vw;
  left: -8vw;
  top: 4vh;
  background: radial-gradient(
    circle,
    rgba(139, 108, 242, 0.55),
    transparent 70%
  );
  animation: nebulaDrift1 34s ease-in-out infinite alternate;
}
.nebula-layer span.n2 {
  width: 38vw;
  height: 38vw;
  right: -6vw;
  top: 30vh;
  background: radial-gradient(
    circle,
    rgba(255, 110, 199, 0.4),
    transparent 70%
  );
  animation: nebulaDrift2 40s ease-in-out infinite alternate;
}
.nebula-layer span.n3 {
  width: 42vw;
  height: 42vw;
  left: 20vw;
  bottom: -12vh;
  background: radial-gradient(
    circle,
    rgba(53, 230, 200, 0.32),
    transparent 70%
  );
  animation: nebulaDrift3 46s ease-in-out infinite alternate;
}
@keyframes nebulaDrift1 {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(6vw, 8vh) scale(1.12);
  }
}
@keyframes nebulaDrift2 {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-7vw, 6vh) scale(1.08);
  }
}
@keyframes nebulaDrift3 {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(5vw, -6vh) scale(1.1);
  }
}
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}
@media (prefers-reduced-motion: reduce) {
  .nebula-layer span {
    animation: none !important;
  }
}
@media (max-width: 700px) {
  .nebula-layer {
    filter: blur(46px);
    opacity: 0.5;
  }
}

/* Aurora ribbon — slow-shifting band of color low in the viewport */
.aurora-layer {
  position: fixed;
  left: -10%;
  right: -10%;
  bottom: -10%;
  height: 55vh;
  z-index: -2;
  pointer-events: none;
  opacity: 0.28;
  filter: blur(50px);
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(139, 108, 242, 0.5) 22%,
    rgba(53, 230, 200, 0.4) 48%,
    rgba(255, 110, 199, 0.35) 74%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: auroraShift 26s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  from {
    background-position: 0% 50%;
    transform: translateY(0);
  }
  to {
    background-position: 100% 50%;
    transform: translateY(-3%);
  }
}

/* Cosmic fog — extremely faint drifting haze for depth */
.fog-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.22;
  background:
    radial-gradient(
      ellipse 60% 40% at 30% 70%,
      rgba(255, 255, 255, 0.05),
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 35% at 75% 25%,
      rgba(255, 255, 255, 0.04),
      transparent 60%
    );
  animation: fogDrift 50s ease-in-out infinite alternate;
}
@keyframes fogDrift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(3%, -2%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .aurora-layer,
  .fog-layer {
    animation: none;
  }
}
@media (max-width: 700px) {
  .aurora-layer,
  .fog-layer {
    opacity: 0.14;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.25s var(--ease),
    height 0.25s var(--ease),
    background 0.25s var(--ease);
  mix-blend-mode: difference;
}
.cursor.grow {
  width: 48px;
  height: 48px;
  background: var(--accent);
}
@media (max-width: 900px) {
  .cursor {
    display: none;
  }
}

/* progress */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 10000;
  width: 0%;
}

/* NAV */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(10, 8, 18, 0.55);
  backdrop-filter: blur(16px) saturate(160%);
  border-color: var(--border);
  transition:
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    padding 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(8, 6, 15, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
  border-color: var(--border);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo img {
  height: 55px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.burger {
  display: none;
  width: 24px;
  height: 18px;
  position: relative;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}
.burger span:nth-child(1) {
  top: 0;
}
.burger span:nth-child(2) {
  top: 8px;
}
.burger span:nth-child(3) {
  top: 16px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(139, 108, 242, 0.32);
  transition:
    background 0.3s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.3s var(--ease);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow:
    var(--glow-primary),
    0 6px 22px rgba(139, 108, 242, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.35s var(--ease),
    color 0.3s var(--ease);
}
.btn-outline:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(53, 230, 200, 0.28);
  color: #fff;
}
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.6s var(--ease);
  pointer-events: none;
}
@keyframes ripple {
  to {
    transform: scale(3);
    opacity: 0;
  }
}
.magnetic {
  transition: transform 0.3s var(--ease);
}

/* HERO — sits directly over the fixed galaxy canvas + nebula layers */
.hero {
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 6%;
  background: transparent !important;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 60% at 50% 38%,
    transparent 0%,
    rgba(5, 5, 7, 0.55) 75%
  );
}
.hero-rays {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 160%;
  height: 90%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background: conic-gradient(
    from 200deg at 50% 0%,
    transparent 0deg,
    rgba(139, 108, 242, 0.16) 8deg,
    transparent 16deg,
    transparent 40deg,
    rgba(53, 230, 200, 0.12) 48deg,
    transparent 56deg,
    transparent 100deg,
    rgba(255, 110, 199, 0.1) 108deg,
    transparent 116deg,
    transparent 360deg
  );
  animation: raysRotate 90s linear infinite;
  mask-image: radial-gradient(
    ellipse 60% 70% at 50% 0%,
    black 30%,
    transparent 75%
  );
}
@keyframes raysRotate {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-rays {
    animation: none;
  }
}
@media (max-width: 700px) {
  .hero-rays {
    opacity: 0.2;
  }
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero .eyebrow {
  justify-content: center;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 5.4rem);
  text-align: center;
  line-height: 0.98;
  max-width: 1100px;
  margin: 0 auto 28px;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line span {
  display: inline-block;
  transform: translateY(110%);
}
.hero h1 .accent-word {
  color: var(--primary);
}
.hero-sub {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 44px;
  color: var(--text-2);
  font-size: 1.1rem;
  font-weight: 400;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 76px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 2;
}
.stat {
  text-align: center;
  padding: 0 44px;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}
.stat-num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-top: 4px;
}
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.scroll-cue .line-anim {
  width: 1px;
  height: 36px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line-anim::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% {
    top: -100%;
  }
  50% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

@media (max-width: 900px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px 0;
  }
  .stat {
    padding: 0 22px;
  }
}

/* TRUSTED BY */
.trusted {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--section);
}
.trusted-label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 36px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.logo-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}
.logo-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.logo-track span {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-2);
  opacity: 0.55;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* SECTION HEADERS */
.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 10px;
  line-height: 1.08;
}
.section-head p {
  color: var(--text-2);
  margin-top: 18px;
  font-size: 1.05rem;
}
.section-pad {
  padding: 35px 0;
}
.bg-section {
  background: var(--section);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  aspect-ratio: 5/3;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #0b0912 0%, #171225 55%, #0b0912 100%);
  box-shadow: var(--shadow-lg);
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-copy .eyebrow {
  margin-bottom: 16px;
}
.about-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 22px;
  line-height: 1.12;
}
.about-copy p {
  color: var(--text-2);
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.about-list {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}
.about-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--text);
}
.about-list li .ico {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(53, 230, 200, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* SERVICES */
.services-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 11px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--card);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.service-panel {
  display: none;
}
.service-panel.active {
  display: block;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.service-card .num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--primary);
  letter-spacing: 0.08em;
}
.service-card h4 {
  font-size: 1.1rem;
  margin: 14px 0 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-2);
}
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: -1fr;
  }
}

/* AI VIDEO SHOWCASE — carousel with direct video embeds */
.video-showcase {
  background: #0b0912;
  color: #fff;
}
.video-showcase .eyebrow {
  color: var(--accent);
}
.video-showcase .eyebrow::before {
  background: var(--primary);
}
.video-showcase h2 {
  color: #fff;
}
.video-showcase .section-head p {
  color: #94a3b8;
}
.video-carousel {
  position: relative;
}
.video-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  scrollbar-width: none;
  cursor: grab;
}
.video-carousel-track:active {
  cursor: grabbing;
}
.video-carousel-track::-webkit-scrollbar {
  display: none;
}
.video-carousel-track .video-card {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: start;
  aspect-ratio: 9/16;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #171225, #0b0912);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 0;
}
.video-carousel-track .video-card .video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: #000;
}
.video-carousel-track .video-card .video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #000;
}
.video-carousel-track .video-card .tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  font-family: "Plus Jakarta Sans", sans-serif;
  z-index: 2;
  pointer-events: none;
}
.video-carousel-track .video-card .tag span {
  display: block;
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.68rem;
  margin-top: 2px;
}
@media (max-width: 640px) {
  .video-carousel-track .video-card {
    width: 210px;
  }
}

.vc-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
  z-index: 3;
}
.vc-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.vc-prev {
  left: -14px;
}
.vc-next {
  right: -14px;
}
@media (max-width: 900px) {
  .vc-arrow {
    display: none;
  }
}

.vc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.vc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  border: none;
  padding: 0;
  transition:
    background 0.3s var(--ease),
    width 0.3s var(--ease);
}
.vc-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

/* ── rest of your existing styles (industries, process, etc.) unchanged ── */
/* ... (all other sections remain exactly as before) ... */

/* FEATURED PROJECTS — image-led draggable/snap carousel */
.projects-carousel {
  position: relative;
}
.projects-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 6vw 16px;
  cursor: grab;
  scrollbar-width: none;
}
.projects-track:active {
  cursor: grabbing;
}
.projects-track::-webkit-scrollbar {
  display: none;
}
.project-card {
  flex: 0 0 auto;
  width: min(70vw, 640px);
  height: 480px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-rows: 58% 1fr;
  padding: 0;
  color: #fff;
  scroll-snap-align: start;
  background: #0b0912;
}
.project-card .project-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.project-card .project-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.project-card .project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    rgba(0, 0, 0, 0.1) 100%
  );
}
.project-card .content {
  position: relative;
  z-index: 2;
  padding: 32px 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  background: linear-gradient(
    180deg,
    rgba(11, 9, 18, 0) 0%,
    rgba(10, 8, 18, 0.9) 100%
  );
}
.project-card .tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.project-card h3 {
  color: #fff;
  font-size: 1.9rem;
}
.project-card p {
  color: #e2e8f0;
  font-size: 0.95rem;
  max-width: 440px;
  margin-bottom: 20px;
}
.project-meta {
  display: flex;
  gap: 26px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.project-meta div span {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.project-meta div strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  transition:
    background 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.project-link:hover {
  background: rgba(139, 108, 242, 0.85);
  transform: translateY(-2px);
}
.projects-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 3%;
  margin-bottom: 5%;
}
.projects-dots .vc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border-strong);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.projects-dots .vc-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT SHOWCASE — Hostel & PG Management System
   ══════════════════════════════════════════════════════════════ */
.product-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

/* ── visual side ── */
.product-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 8px;
}
.ps-glow {
  position: absolute;
  inset: -10% -6% 6%;
  z-index: 0;
  background: radial-gradient(
    ellipse 60% 55% at 50% 42%,
    rgba(139, 108, 242, 0.28),
    transparent 70%
  );
  filter: blur(30px);
  animation: psGlowPulse 6s ease-in-out infinite;
}
@keyframes psGlowPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* laptop */
.ps-laptop {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  animation: psFloat 6s ease-in-out infinite;
}
@keyframes psFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.ps-laptop-screen {
  background: #0b0912;
  border: 10px solid #171225;
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  aspect-ratio: 21/10;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.ps-laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #171225, #0b0912);
  border-radius: 0 0 10px 10px;
  position: relative;
}
.ps-laptop-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 16%;
  height: 5px;
  background: #241a38;
  border-radius: 0 0 6px 6px;
}

/* phone — overlapping the laptop, bottom-right */
.ps-phone {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 21%;
  width: 108px;
  background: #171225;
  border: 6px solid #171225;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  animation: psFloat 6s ease-in-out infinite 0.4s;
}
.ps-phone-notch {
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  width: 34px;
  height: 5px;
  border-radius: 4px;
  background: #0b0912;
  z-index: 2;
}
.ps-phone-screen {
  background: #0b0912;
  border-radius: 20px;
  aspect-ratio: 9/19;
  overflow: hidden;
  position: relative;
}

/* screen crossfade track (shared by laptop + phone) */
.ps-screen-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.ps-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 0.6s var(--ease),
    transform 0.7s var(--ease);
  pointer-events: none;
}
.ps-screen.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* abstract mini-UI inside each screen */
.ps-screen-inner {
  display: flex;
  height: 100%;
}
.ps-sidebar {
  width: 15%;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}
.ps-sidebar .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background 0.4s var(--ease);
}
.ps-sidebar .dot.active {
  background: rgb(var(--ps-accent, 139, 108, 242));
  box-shadow: 0 0 8px rgba(var(--ps-accent, 139, 108, 242), 0.7);
}
.ps-main {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ps-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ps-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
}
.ps-pill {
  font-size: 0.58rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(var(--ps-accent, 139, 108, 242), 0.18);
  color: rgb(var(--ps-accent, 139, 108, 242));
  white-space: nowrap;
}
.ps-pill.accent {
  background: rgba(139, 108, 242, 0.16);
  color: var(--primary);
}

.ps-stats-row {
  display: flex;
  gap: 8px;
}
.ps-stat-tile {
  flex: 1;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(var(--ps-accent, 139, 108, 242), 0.22),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ps-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 46px;
  flex: 1;
}
.ps-bars.tall {
  height: 64px;
}
.ps-bars span {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(
    180deg,
    rgb(var(--ps-accent, 139, 108, 242)),
    rgba(var(--ps-accent, 139, 108, 242), 0.15)
  );
  animation: psBarGrow 1s var(--ease) both;
}
@keyframes psBarGrow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.ps-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ps-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ps-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(var(--ps-accent, 139, 108, 242), 0.5);
  flex-shrink: 0;
}
.ps-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  flex: 1;
}
.ps-line.short {
  flex: 0 0 46%;
}
.ps-amt {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-2);
}
.ps-amt.paid {
  color: rgb(53, 230, 200);
}
.ps-amt.due {
  color: rgb(255, 110, 199);
}
.cat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--ps-accent, 139, 108, 242));
  flex-shrink: 0;
}

.ps-chart-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.ps-donut {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(
    rgb(var(--ps-accent, 139, 108, 242)) 0% 55%,
    rgba(255, 255, 255, 0.08) 55% 100%
  );
  position: relative;
}
.ps-donut::after {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: #0b0912;
}
.ps-donut.small {
  width: 40px;
  height: 40px;
}

/* screen tabs beneath the mockups */
.ps-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.ps-tab {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-2);
  cursor: pointer;
  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.ps-tab.active {
  color: #fff;
  border-color: var(--primary);
  background: rgba(139, 108, 242, 0.16);
}

/* ── copy side ── */
.product-copy .eyebrow {
  gap: 8px;
}
.product-copy .eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(53, 230, 200, 0.8);
}
.product-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin: 14px 0 16px;
}
.product-copy > p {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 28px;
}

.ps-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 30px;
}
.ps-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}
.ps-features .ico {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(53, 230, 200, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  flex-shrink: 0;
}

/* glassmorphism pricing card */
.ps-price-card {
  border-radius: 20px;
  padding: 26px 28px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.ps-price-card.glass {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.ps-price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(139, 108, 242, 0.12),
    transparent 40%,
    rgba(53, 230, 200, 0.08) 100%
  );
  pointer-events: none;
}
.ps-price-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  position: relative;
}
.ps-price-label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--text-2);
  margin-bottom: 4px;
}
.ps-price-amt {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.ps-price-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.ps-price-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-2);
}
.ps-price-perks .ico {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(139, 108, 242, 0.18);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  flex-shrink: 0;
}

.ps-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  .ps-glow,
  .ps-laptop,
  .ps-phone {
    animation: none !important;
  }
  .ps-bars span {
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .product-visual {
    order: -1;
  }
  .ps-laptop {
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .ps-phone {
    width: 82px;
    right: 4%;
  }
  .ps-features {
    grid-template-columns: 1fr;
  }
  .ps-price-card {
    padding: 22px;
  }
  .ps-price-amt {
    font-size: 1.7rem;
  }
  .ps-cta {
    flex-direction: column;
  }
  .ps-cta .btn {
    width: 100%;
    text-align: center;
  }
  .ps-tabs {
    gap: 6px;
  }
  .ps-tab {
    font-size: 0.66rem;
    padding: 6px 11px;
  }
}

/* INDUSTRIES */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.industry-cell {
  background: var(--card);
  padding: 34px 14px;
  transition: background 0.3s var(--ease);
  cursor: default;
}
.industry-cell:hover {
  background: var(--section);
}
.industry-cell .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(139, 108, 242, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-weight: 700;
}
.industry-cell h4 {
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  .industries-grid {
    grid-template-columns: repeat(2, -1fr);
  }
}

/* PROCESS */
.process-list {
  display: flex;
  flex-direction: column;
}
.process-item {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 44px 0;
  border-top: 1px solid var(--border);
}
.process-item:last-child {
  border-bottom: 1px solid var(--border);
}
.process-item .p-num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
}
.process-item h3 {
  font-size: 1.4rem;
}
.process-item p {
  color: var(--text-2);
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  .process-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* RESULTS */
.results-band {
  background: var(--bg);
  color: #fff;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.result-stat {
  text-align: center;
}
.result-stat .r-num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 3.4rem;
  letter-spacing: -0.02em;
}
.result-stat .r-num .accent {
  color: var(--accent);
}
.result-stat p {
  color: #94a3b8;
  margin-top: 8px;
  font-size: 0.92rem;
}
@media (max-width: 900px) {
  .results-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 44px;
  }
}

/* TESTIMONIALS */
.testi-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar {
  display: none;
}
.testi-card {
  flex: 0 0 auto;
  width: min(88vw, 460px);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.testi-stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.testi-card p.quote {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 26px;
  line-height: 1.6;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
}
.testi-person strong {
  display: block;
  font-size: 0.92rem;
}
.testi-person span {
  font-size: 0.82rem;
  color: var(--text-2);
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(139, 108, 242, 0.14);
  transform: scale(1.03);
}
.price-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.price-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  color: var(--text-2);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.price-amt {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 6px;
}
.price-amt span {
  font-size: 0.95rem;
  color: var(--text-2);
  font-weight: 500;
}
.price-desc {
  color: var(--text-2);
  font-size: 0.88rem;
  margin-bottom: 28px;
}
.price-feats {
  display: grid;
  gap: 13px;
  margin-bottom: 32px;
  flex: 1;
}
.price-feats li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  align-items: flex-start;
}
.price-feats li .ico {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .price-card.featured {
    transform: none;
  }
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 4px;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
}
.faq-q .plus {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--text);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-q .plus::before {
  width: 14px;
  height: 2px;
}
.faq-q .plus::after {
  width: 2px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}
.faq-item.open .plus::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a p {
  color: var(--text-2);
  padding: 0 4px 26px;
  font-size: 0.96rem;
  max-width: 640px;
}

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.blog-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(150deg, #171225, #241a38);
  position: relative;
}
.blog-thumb.b2 {
  background: linear-gradient(150deg, #1a4a55, #12332f);
}
.blog-thumb.b3 {
  background: linear-gradient(150deg, #6d4fd1, #4c2a8f);
}
.blog-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #0b0912;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.blog-body {
  padding: 24px;
}
.blog-date {
  font-size: 0.78rem;
  color: var(--text-2);
  margin-bottom: 10px;
}
.blog-body h4 {
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-body p {
  font-size: 0.88rem;
  color: var(--text-2);
}
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 18px;
}
.contact-info p {
  color: var(--text-2);
  margin-bottom: 36px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}
.contact-detail .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(139, 108, 242, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.contact-detail strong {
  display: block;
  font-size: 0.9rem;
}
.contact-detail span {
  font-size: 0.85rem;
  color: var(--text-2);
}
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-family: "Inter", sans-serif;
  font-size: 0.94rem;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  transition:
    border-color 0.25s,
    background 0.25s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-2);
  opacity: 0.75;
}
.field select {
  color-scheme: dark;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.09);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
footer {
  background: #0b0912;
  color: #b7bad0;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .logo {
  color: #fff;
}
.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.fcol h5 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.82rem;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.fcol li {
  margin-bottom: 12px;
}
.fcol a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color 0.25s;
}
.fcol a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .flinks {
  display: flex;
  gap: 24px;
}
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}

/* reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* mobile nav */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.open {
  transform: translateY(0);
}
.mobile-menu a {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-cta .btn {
    display: none;
  }
  .burger {
    display: block;
  }
}

/* ===================================================
   SECTION HOSTS
   The old per-section video/lottie "cinematic" engine never
   actually ran (dead code) — sections now simply sit as matte
   panels above the single fixed galaxy canvas + nebula layers.
  =================================================== */
.cine-host {
  overflow: hidden;
  isolation: isolate;
}
/* ── Video Card with Iframe ── */
.video-card {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: 18px;
  overflow: hidden;
  background: #171225;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
  display: none; /* hidden until play */
}

.video-card .video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #171225, #0b0912);
}

/* Optional gradient overlay for placeholder */
.video-card .thumb-gradient {
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(139, 108, 242, 0.15),
    transparent 60%
  );
}

.video-card .play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  transition:
    transform 0.3s,
    background 0.3s;
}
.video-card .play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--primary);
}

.video-card .tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.video-card .tag span {
  display: block;
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.68rem;
  margin-top: 2px;
}

/* When playing, show iframe and hide placeholder */
.video-card.playing iframe {
  display: block;
}
.video-card.playing .video-placeholder {
  display: none;
}
.video-card.playing .play-btn {
  /* still visible to allow pause */
  z-index: 3;
}
/* ══════════════════════════════════════════════════════════════
   RESPONSIVE REFINEMENTS — proper mobile support
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .wrap {
    padding: 0 24px;
  }
  .section-pad {
    padding: 35px 0;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 76px 0;
  }
  .section-head {
    margin-bottom: 44px;
  }
  .hero {
    min-height: 560px;
    margin-top: 12%;
  }
  .hero-buttons {
    margin-bottom: 56px;
  }
  .about-visual {
    aspect-ratio: 1/1;
    max-width: 380px;
    margin: 0 auto;
  }
  .service-card,
  .price-card,
  .testi-card,
  .contact-form {
    padding: 26px;
  }
  .project-card {
    padding: 30px;
  }
  .project-card h3 {
    font-size: 1.4rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
}

@media (max-width: 700px) {
  .projects-track {
    padding: 4px 5vw 14px;
    gap: 18px;
  }
  .project-card {
    width: 86vw;
    height: 440px;
    padding: 32px;
  }
  .projects-carousel .vc-arrow {
    display: none;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 20px;
  }
  .logo {
    font-size: 1.08rem;
  }
  .hero h1 {
    line-height: 1.04;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-stats {
    gap: 12px 0;
  }
  .stat {
    padding: 0 14px;
  }
  .stat-num {
    font-size: 1.9rem;
  }
  .services-tabs {
    gap: 8px;
    margin-bottom: 36px;
  }
  .tab-btn {
    padding: 9px 16px;
    font-size: 0.8rem;
  }
  .results-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .result-stat .r-num {
    font-size: 2.3rem;
  }
  .process-item {
    padding: 30px 0;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .contact-grid {
    gap: 36px;
  }
  .footer-top {
    grid-template-columns: -1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
  .footer-brand p {
    max-width: 100%;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .video-carousel-track .video-card {
    width: 180px;
  }
  .testi-card {
    padding: 26px;
  }
  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 420px) {
  .eyebrow {
    font-size: 0.68rem;
  }
  .hero h1 {
    font-size: clamp(2.3rem, 12vw, 3rem);
  }
  .btn {
    padding: 13px 22px;
    font-size: 0.85rem;
  }
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .stat {
    padding: 0 10px;
  }
  .stat-num {
    font-size: 1.6rem;
  }
  .about-visual {
    max-width: 300px;
  }
}

/* Prevent iOS text-size autoboost + tap-highlight noise */
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* Respect safe areas on notched phones */
@supports (padding: max(0px)) {
  header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* ══════════════════════════════════════════════════════════════
   NEW SECTIONS — Why Choose Us, Success Stories, Founders, Audit
   (appended; existing component styles above are untouched)
   ══════════════════════════════════════════════════════════════ */

/* Accessibility: skip-to-content link */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 10000;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: top 0.25s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

/* Burger is now a <button> — reset native styles */
.burger {
  background: none;
  border: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* WHY CHOOSE US */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 26px;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 108, 242, 0.4);
  box-shadow: var(--shadow-md);
}
.why-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: linear-gradient(
    135deg,
    rgba(139, 108, 242, 0.18),
    rgba(53, 230, 200, 0.14)
  );
  margin-bottom: 18px;
}
.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.why-card p {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: -1fr;
  }
}

/* CLIENT SUCCESS STORIES */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.case-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 108, 242, 0.4);
  box-shadow: var(--shadow-md);
}
.case-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.case-top strong {
  display: block;
  font-size: 0.98rem;
}
.case-top span {
  font-size: 0.8rem;
  color: var(--text-2);
}
.case-top > div:nth-child(2) {
  flex: 1;
}
.case-stars {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.case-body {
  margin: 0 0 22px;
}
.case-body dt {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin: 16px 0 6px;
}
.case-body dt:first-child {
  margin-top: 0;
}
.case-body dd {
  margin: 0;
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.6;
}
.case-results {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}
.case-results li {
  background: rgba(139, 108, 242, 0.1);
  border: 1px solid rgba(139, 108, 242, 0.22);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 84px;
}
.case-results strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  color: #fff;
}
.case-results span {
  font-size: 0.68rem;
  color: var(--text-2);
}
.case-card .quote {
  font-size: 0.94rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.case-card cite {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-2);
}
@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .case-card {
    padding: 26px;
  }
  .case-results {
    gap: 8px;
  }
  .case-results li {
    min-width: 72px;
    padding: 7px 10px;
  }
}

/* MEET THE FOUNDERS */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.founder-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  text-align: center;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.founder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 108, 242, 0.4);
}
.founder-photo {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}
.founder-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.founder-role {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}
.founder-bio {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
.founder-vision {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.founder-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.founder-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--text-2);
  text-decoration: none;
  transition:
    border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}
.founder-socials a:hover {
  border-color: var(--primary);
  color: #fff;
}
@media (max-width: 700px) {
  .founders-grid {
    grid-template-columns: 1fr;
  }
}

/* FREE AUDIT */
.audit-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.audit-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 15% 15%,
    rgba(139, 108, 242, 0.14),
    transparent 55%
  );
  pointer-events: none;
}
.audit-copy {
  position: relative;
}
.audit-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin: 14px 0 16px;
}
.audit-copy > p {
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 46ch;
}
.audit-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.audit-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
}
.audit-benefits .ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(53, 230, 200, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.audit-form {
  position: relative;
  border-radius: 20px;
  padding: 32px;
}
.audit-form.glass {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.audit-field {
  margin-bottom: 18px;
}
.audit-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.audit-field label,
.audit-row-2 label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 7px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.audit-field input,
.audit-row-2 input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}
.audit-field input:focus,
.audit-row-2 input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.09);
}
.btn.full {
  width: 100%;
  text-align: center;
  justify-content: center;
}
.audit-note {
  margin: 12px 0 0;
  font-size: 0.84rem;
  color: var(--accent);
  min-height: 1.2em;
}
@media (max-width: 900px) {
  .audit-panel {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 28px;
  }
}
@media (max-width: 500px) {
  .audit-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .audit-panel {
    padding: 30px 22px;
  }
}

/* BLOG TEASER (blog-card converted to a link) */
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.blog-teaser-cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* BUGFIX: mobile-menu overlay must be fully hidden on wider screens.
   Previously it only relied on transform: translateY(-100%), so if it
   was left open on a narrow window and the window was then resized
   wider, the full-screen menu (and its per-link underline) stayed
   visible on top of the desktop nav. */
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   SECONDARY PAGES — About & Blog
   ══════════════════════════════════════════════════════════════ */

/* Page hero (shorter than the homepage hero) */
.page-hero {
  position: relative;
  padding: 200px 0 90px;
  overflow: hidden;
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  margin: 14px 0 16px;
  max-width: 18ch;
}
.page-hero-sub {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 56ch;
  line-height: 1.7;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 22px;
}
.breadcrumbs a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.breadcrumbs a:hover {
  color: var(--primary);
}
.breadcrumbs [aria-current="page"] {
  color: var(--text);
}
@media (max-width: 600px) {
  .page-hero {
    padding: 160px 0 60px;
  }
}

/* Mission & Vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.mv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
}
.mv-card h2 {
  font-size: 1.4rem;
  margin: 18px 0 12px;
}
.mv-card p {
  color: var(--text-2);
  line-height: 1.7;
}
@media (max-width: 700px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}

/* Team grid — 4-up variant of founders-grid */
.team-grid {
  grid-template-columns: repeat(4, 1fr);
}
.team-grid .founder-card {
  padding: 28px 22px;
}
.team-grid .founder-photo {
  width: 72px;
  height: 72px;
  font-size: 1.4rem;
}
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* About page CTA (reuses .audit-panel glass styling) */
.about-cta-panel {
  grid-template-columns: 1.3fr 0.7fr;
}
.about-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 900px) {
  .about-cta-panel {
    grid-template-columns: 1fr;
  }
}

/* Blog page */
.blog-hero-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
}
.blog-featured-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, #8b6cf2, #0b0912 75%);
  position: relative;
}
.blog-featured-thumb .blog-cat {
  position: absolute;
  left: 20px;
  top: 20px;
}
.blog-featured-body {
  padding: 12px 40px 12px 0;
}
.blog-featured-body .blog-date {
  margin-bottom: 10px;
}
.blog-featured-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 14px;
}
.blog-featured-body p {
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 22px;
}
@media (max-width: 900px) {
  .blog-hero-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-body {
    padding: 0 28px 32px;
  }
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: start;
}
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.blog-cat-btn {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-2);
  cursor: pointer;
  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.blog-cat-btn.active,
.blog-cat-btn:hover {
  color: #fff;
  border-color: var(--primary);
  background: rgba(139, 108, 242, 0.16);
}
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.blog-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.blog-sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
}
.blog-sidebar-card h5 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.blog-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.blog-sidebar-list a {
  font-size: 0.86rem;
  color: var(--text-2);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.3s var(--ease);
}
.blog-sidebar-list a:hover {
  color: var(--primary);
}
.blog-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-tag-cloud span {
  font-size: 0.74rem;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2);
  border: 1px solid var(--border);
}
@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .blog-sidebar-card {
    flex: 1 1 240px;
  }
}
@media (max-width: 600px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }
}

.blog-empty-state {
  text-align: center;
  color: var(--text-2);
  padding: 40px 0;
  font-size: 0.94rem;
}

/* ══════════════════════════════════════════════════════════════
   AVATAR / LOGO IMAGES — Founders, Testimonials, Success Stories
   Drop an <img> inside .founder-photo or .testi-avatar and it will
   auto-fill the circle (cropped, centered, no distortion) with no
   extra classes or markup changes needed.
   ══════════════════════════════════════════════════════════════ */
.founder-photo,
.testi-avatar {
  overflow: hidden;
  position: relative;
}
.founder-photo img,
.testi-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* If a real photo is present, hide the letter/initial fallback
   automatically — no need to manually delete the <span> */
.founder-photo:has(img) span {
  display: none;
}

/* Company / client logo variant — same circular frame, but logos
   usually shouldn't be cropped like a face photo, so contain +
   pad on a soft plate instead of cover-cropping edge to edge.
   Add this class alongside .testi-avatar, e.g.
   <div class="testi-avatar testi-avatar--logo"><img ...></div> */
.testi-avatar--logo {
  background: #fff;
  padding: 8px;
}
.testi-avatar--logo img {
  object-fit: contain;
  border-radius: 0;
}

/* ══════════════════════════════════════════════════════════════
   BLOG & STORY IMAGES — Articles, Featured Post, About "Our Story"
   ══════════════════════════════════════════════════════════════ */

/* Blog card thumbnails (index.html blog teaser + blog.html post grid).
   BUGFIX: real <img> tags here were using raw width/height HTML
   attributes (e.g. width="600" height="240") with no CSS override,
   so the browser rendered them at that literal pixel size instead of
   filling the card — causing overflow on narrower cards. This forces
   the image to always fill its thumb box and crop to match, however
   large or small the card actually renders. */
.blog-thumb {
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.12);
}

/* Featured post thumbnail (blog.html hero article) */
.blog-featured-thumb {
  overflow: hidden;
}
.blog-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.12);
}

/* About "Our Story" visual — .about-visual already supports a full
   <img> (see the existing .about-visual img rule). This just makes
   the decorative pulse rings and glowing core auto-hide the moment
   a real photo is dropped in, so you don't have to delete them
   manually — same pattern as the founder-photo letter fallback. */
.about-visual:has(img) .pulse-ring,
.about-visual:has(img) .core {
  display: none;
}
