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

html {
  scroll-behavior: auto;
}

body {
  background: #fcfaf6;
  color: #111827;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.line-reveal {
  display: block;
  overflow: hidden;
  line-height: 1.1;
}

.line-reveal > span {
  display: block;
  transform: translateY(105%);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
  transform: translateY(-4px);
  border-color: rgba(36, 93, 255, 0.25);
}

.magnetic-btn {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.magnetic-btn .btn-inner {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  
}

.gradient-text {
  background: linear-gradient(
    90deg,
    #111827 0%,
    #245dff 20%,
    #7c4dff 40%,
    #245dff 60%,
    #111827 80%,
    #245dff 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shimmer 7s linear infinite;
}

@keyframes gradient-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

.hero-label-char {
  display: inline-block;
  will-change: transform, opacity;
}
.hero-badge-line {
  transform-origin: center;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #245dff 0%, #7c4dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.border-gradient {
  position: relative;
}

.border-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(36, 93, 255, 0.3),
    rgba(124, 77, 255, 0.3),
    rgba(36, 93, 255, 0.1)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-gradient-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-gradient-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: #245dff;
  top: -200px;
  right: -100px;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: #7c4dff;
  bottom: -200px;
  left: -100px;
  animation-delay: -7s;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: #245dff;
  top: 40%;
  left: 40%;
  animation-delay: -14s;
  opacity: 0.06;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -40px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(40px, 30px) scale(1.02);
  }
}

.metric-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, #e5e7eb, transparent);
}

.scroll-indicator {
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.4;
  }
}

.expertise-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #245dff;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #e5e7eb;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

.case-accent {
  width: 3px;
  min-height: 100%;
  background: linear-gradient(to bottom, #245dff, #7c4dff);
  border-radius: 2px;
  align-self: stretch;
}

.nav-blur {
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.section-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #245dff;
  font-weight: 500;
}

.url-input-wrapper {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.url-input-wrapper:focus-within {
  border-color: #245dff;
  box-shadow:
    0 0 0 4px rgba(36, 93, 255, 0.08),
    0 8px 30px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.98);
}

.url-input-wrapper input {
  background: transparent;
  border: none;
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #111827;
  width: 100%;
}

.url-input-wrapper input::placeholder {
  color: #6b7280;
  font-weight: 300;
}

.hero-submit-btn {
  background: linear-gradient(135deg, #245dff, #0f2a6b);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 28px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(36, 93, 255, 0.3);
}

.hero-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(36, 93, 255, 0.4);
}

.cta-gradient {
  background: linear-gradient(
    135deg,
    rgba(36, 93, 255, 0.04) 0%,
    rgba(124, 77, 255, 0.04) 50%,
    rgba(36, 93, 255, 0.02) 100%
  );
}

.dot-pattern {
  background-image: radial-gradient(circle, #e8dccb 0.7px, transparent 0.7px);
  background-size: 32px 32px;
}

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(120px) scale(0.92);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(36, 93, 255, 0.18);
  color: #111827;
  padding: 0;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 500;
  z-index: 100000;
  opacity: 0;
  transition: all 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 24px 64px rgba(36, 93, 255, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  max-width: 420px;
  width: max-content;
  text-align: left;
  overflow: hidden;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.toast-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  position: relative;
}

.toast-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #245dff, #7c4dff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(36, 93, 255, 0.35);
}

.toast-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.toast-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
}

.toast-msg {
  font-size: 12.5px;
  font-weight: 400;
  color: #475569;
  line-height: 1.4;
}

.toast-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: none;
  background: rgba(0, 0, 0, 0.04);
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  font-size: 14px;
  line-height: 1;
}

.toast-close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #111827;
  transform: scale(1.08);
}

.toast-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #245dff, #7c4dff);
  border-radius: 0 0 18px 18px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(1);
}

.toast-bar.animate {
  animation: toastBarShrink var(--toast-duration, 3s) linear forwards;
}

@keyframes toastBarShrink {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* Stacking support — if multiple toasts, push older ones up */
.toast + .toast {
  bottom: calc(32px + 80px);
}

.toast + .toast + .toast {
  bottom: calc(32px + 160px);
}

@media (max-width: 480px) {
  .toast {
    max-width: calc(100vw - 32px);
    bottom: 20px;
  }
  .toast + .toast {
    bottom: calc(20px + 76px);
  }
  .toast + .toast + .toast {
    bottom: calc(20px + 152px);
  }
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #fcfaf6;
}
::-webkit-scrollbar-thumb {
  background: #e8dccb;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

.service-card-plain {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 3px solid transparent;
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition:
    background 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
}

.service-card-plain p {
  flex: 1 1 auto;
}

.service-card-plain::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(36, 93, 255, 0.1),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.service-card-plain:hover {
  background: linear-gradient(145deg, #f3e8d7 0%, #fcfaf6 100%);
  border-color: rgba(36, 93, 255, 0.22);
  border-top-color: #245dff;
  transform: translateY(-6px);
  box-shadow:
    0 24px 60px rgba(36, 93, 255, 0.16),
    0 4px 16px rgba(124, 77, 255, 0.08);
}

.service-card-plain:hover::after {
  opacity: 1;
}

.service-card-plain h3,
.service-card-plain p {
  transition: color 0.45s ease;
  position: relative;
  z-index: 1;
}

.service-card-plain:hover h3 {
  background: linear-gradient(135deg, #245dff, #7c4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  transition:
    background 0.45s ease,
    box-shadow 0.45s ease;
}

.service-icon-wrap iconify-icon {
  transition: color 0.45s ease;
}

.service-card-plain:hover .service-icon-wrap {
  background: linear-gradient(135deg, #245dff, #7c4dff) !important;
  box-shadow: 0 8px 20px rgba(36, 93, 255, 0.3);
}

.service-card-plain:hover .service-icon-wrap iconify-icon {
  color: #fff !important;
}

@keyframes hero-sub-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

#hero-sub.floating {
  animation: hero-sub-float 4.5s ease-in-out infinite;
}

.about-name {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #111827;
}

.about-initial {
  display: inline-block;
  width: clamp(80px, 12vw, 140px);
  height: clamp(80px, 12vw, 140px);
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(36, 93, 255, 0.08),
    rgba(124, 77, 255, 0.08)
  );
  border: 1px solid rgba(229, 231, 235, 0.6);
  text-align: center;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.about-initial span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(135deg, #245dff, #7c4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#laptop-intro {
  background: radial-gradient(
    circle at 50% 0%,
    rgba(36, 93, 255, 0.05),
    transparent 60%
  );
}

#services {
  background: linear-gradient(
    180deg,
    rgba(36, 93, 255, 0.025) 0%,
    rgba(124, 77, 255, 0.03) 100%
  );
}

.laptop-mockup-wrap {
  perspective: 1400px;
  margin-top: 40px;
}

.laptop-mockup {
  width: min(1050px, 96vw);
  margin: 0 auto;
  transform-style: preserve-3d;
  animation: laptop-float 6s ease-in-out infinite;
}

@keyframes laptop-float {
  0%,
  100% {
    transform: translateY(0) rotateX(3deg);
  }
  50% {
    transform: translateY(-12px) rotateX(3deg);
  }
}

.laptop-screen {
  position: relative;
  background: #111827;
  border-radius: 18px 18px 5px 5px;
  padding: 14px 14px 24px;
  box-shadow:
    0 40px 90px rgba(17, 24, 39, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.laptop-camera {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #334155;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.03);
}

.laptop-screen-inner {
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #0b1220 0%, #111827 100%);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.laptop-screen-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.laptop-topbar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
}
.laptop-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
}
.laptop-topbar span:nth-child(1) {
  background: #ef4444;
}
.laptop-topbar span:nth-child(2) {
  background: #f59e0b;
}
.laptop-topbar span:nth-child(3) {
  background: #10b981;
}

.laptop-screen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
}

.laptop-terminal-line {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(10px, 1.6vw, 12px);
  color: #6c8fff;
  opacity: 0.75;
  letter-spacing: 0.02em;
}

.laptop-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4.4vw, 2.6rem);
  color: #fff;
  letter-spacing: -0.02em;
  min-height: 1.2em;
}

.laptop-name .type-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: #245dff;
  margin-left: 4px;
  vertical-align: middle;
  animation: cursor-blink 0.9s steps(1) infinite;
}

@keyframes cursor-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.laptop-role {
  font-family: "Inter", sans-serif;
  font-size: clamp(11px, 1.8vw, 13px);
  color: #6b7280;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.laptop-search-wrap {
  margin-top: 6px;
  width: min(360px, 80%);
}

.laptop-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(108, 143, 255, 0.25);
  border-radius: 10px;
  padding: 8px 8px 8px 14px;
  transition: all 0.3s ease;
}

.laptop-search-bar:focus-within {
  border-color: #245dff;
  box-shadow: 0 0 0 3px rgba(36, 93, 255, 0.15);
}
.laptop-search-icon {
  color: #6c8fff;
  opacity: 0.7;
  flex-shrink: 0;
}

.laptop-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #fff;
  text-align: center;
}

.laptop-search-input::placeholder {
  color: #64748b;
}

.laptop-search-submit {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #245dff, #7c4dff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.laptop-search-submit:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(36, 93, 255, 0.4);
}

.laptop-base {
  width: 116%;
  margin-left: -8%;
  height: 16px;
  background: linear-gradient(180deg, #e5e7eb, #6b7280);
  border-radius: 0 0 12px 12px;
  position: relative;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.18);
}

.laptop-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 6px;
  background: #64748b;
  border-radius: 0 0 8px 8px;
}

.laptop-reflection {
  width: min(560px, 76vw);
  height: 50px;
  margin: 4px auto 0;
  background: radial-gradient(
    ellipse at center,
    rgba(17, 24, 39, 0.1),
    transparent 70%
  );
  filter: blur(4px);
}

.laptop-about-view {
  display: none;
  flex: 1;
  padding: 0;
  text-align: left;
  overflow: hidden;
  position: relative;
}

.laptop-about-view.is-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  justify-items: stretch;
  background: linear-gradient(160deg, #0b1220 0%, #111827 100%);
  border-radius: 6px;
  overflow: hidden;
  padding: clamp(10px, 2vw, 20px);
  gap: clamp(10px, 2vw, 20px);
  box-sizing: border-box;
}

.laptop-about-img-col {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(160deg, #111827 0%, #0b1220 100%);
  min-width: 0;
  min-height: 0;
}

.laptop-about-img-col::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 55%,
    rgba(11, 18, 32, 0.95) 100%
  );
  pointer-events: none;
}

.laptop-about-img-col::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent,
    #245dff,
    #7c4dff,
    transparent
  );
  z-index: 2;
  opacity: 0.7;
  animation: laptop-border-glow 3s ease-in-out infinite;
}

@keyframes laptop-border-glow {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.85;
  }
}

.laptop-about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.laptop-about-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(4px, 1.2vw, 10px);
  padding: clamp(14px, 3vw, 28px) clamp(16px, 3.4vw, 30px);
  min-width: 0;
  overflow-y: auto;
  position: relative;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(124, 77, 255, 0.22),
      transparent 55%
    ),
    radial-gradient(circle at 10% 90%, rgba(36, 93, 255, 0.16), transparent 50%);
}

.laptop-about-text-col::before {
  content: "";
  position: absolute;
  top: 20%;
  right: 8%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 93, 255, 0.35), transparent 70%);
  filter: blur(18px);
  animation: laptop-orb-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes laptop-orb-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.9;
  }
}

.laptop-about-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(8.5px, 1.3vw, 10px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6c8fff;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

.laptop-about-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 2.6vw, 22px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  background: linear-gradient(90deg, #ffffff 0%, #7dd3fc 50%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: laptop-name-shimmer 5s linear infinite;
  position: relative;
  z-index: 1;
}

@keyframes laptop-name-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

.laptop-about-role {
  font-family: "Inter", sans-serif;
  font-size: clamp(10px, 1.7vw, 12.5px);
  color: #6b7280;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.laptop-about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.laptop-about-tags span {
  font-size: 9px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: #6c8fff;
  border: 1px solid rgba(108, 143, 255, 0.22);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.laptop-about-tags span:hover {
  background: linear-gradient(
    135deg,
    rgba(36, 93, 255, 0.3),
    rgba(124, 77, 255, 0.3)
  );
  border-color: rgba(36, 93, 255, 0.6);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(36, 93, 255, 0.25);
}

.laptop-about-bio {
  font-size: clamp(9.5px, 1.5vw, 12px);
  color: #e8dccb;
  font-weight: 300;
  line-height: 1.65;
  max-width: 420px;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.laptop-scroll-btn {
  margin-top: 14px;
  justify-self: start;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .laptop-about-view.is-active {
    grid-template-columns: 1fr;
  }
  .laptop-about-img-col {
    width: 100%;
    min-height: 42vw;
  }
  .laptop-about-img-col::after {
    background: linear-gradient(
      180deg,
      transparent 55%,
      rgba(11, 18, 32, 0.95) 100%
    );
  }
  .laptop-about-img-col::before {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      #245dff,
      #7c4dff,
      transparent
    );
  }
  .laptop-about-text-col {
    text-align: center;
    align-items: center;
  }
  .laptop-about-tags {
    justify-content: center;
  }
  .laptop-scroll-btn {
    justify-self: center;
  }
}

.about-portrait-outer {
  position: relative;
  padding: 14px;
  perspective: 1200px;
}
#philosophy .fade-up {
  opacity: 1 !important;
  transform: none !important;
}

.about-portrait-outer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 2px;
  background: conic-gradient(
    from var(--spin-angle, 0deg),
    #245dff,
    #7c4dff,
    #245dff,
    #10b981,
    #245dff
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  animation: portrait-spin 7s linear infinite;
  pointer-events: none;
}

@property --spin-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes portrait-spin {
  to {
    --spin-angle: 360deg;
  }
}

.about-portrait-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 25% 20%,
      rgba(36, 93, 255, 0.16),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 85%,
      rgba(124, 77, 255, 0.16),
      transparent 55%
    ),
    linear-gradient(160deg, #f1f5f9 0%, #eef2ff 100%);
  border: 1px solid rgba(229, 231, 235, 0.9);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s ease;
}

.about-portrait-card:hover {
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.14);
}
.about-portrait-card img {
  transition:
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s ease;
  transform: scale(1.08) translateZ(0);
}
.about-portrait-card:hover img {
  transform: scale(1.15) translateZ(0);
}

.about-portrait-sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 45%,
    transparent 60%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.about-portrait-card:hover .about-portrait-sheen {
  animation: portrait-sheen 1.1s ease;
}
@keyframes portrait-sheen {
  to {
    transform: translateX(120%);
  }
}

.about-portrait-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.about-portrait-rings span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(36, 93, 255, 0.18);
  animation: ring-pulse 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.about-portrait-rings span:nth-child(1) {
  width: 60%;
  height: 60%;
  animation-delay: 0s;
}
.about-portrait-rings span:nth-child(2) {
  width: 78%;
  height: 78%;
  border-color: rgba(124, 77, 255, 0.14);
  animation-delay: 1.1s;
}
.about-portrait-rings span:nth-child(3) {
  width: 96%;
  height: 96%;
  border-color: rgba(36, 93, 255, 0.1);
  animation-delay: 2.2s;
}

@keyframes ring-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.94);
    opacity: 0.15;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.02);
    opacity: 0.55;
  }
}

.about-portrait-monogram {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(4.5rem, 13vw, 7.5rem);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #111827 0%, #245dff 55%, #7c4dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.about-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
  z-index: 3;
  animation: badge-float 4.5s ease-in-out infinite;
  transition:
    box-shadow 0.4s ease,
    transform 0.4s ease;
}

.about-float-badge:hover {
  box-shadow: 0 16px 40px rgba(36, 93, 255, 0.22);
  transform: translateY(-3px) scale(1.03);
}
.about-float-badge.badge-delay {
  animation-delay: -2.2s;
}

@keyframes badge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.about-float-badge .num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #111827;
  line-height: 1;
}
.about-float-badge .lbl {
  font-size: 10px;
  color: #475569;
  font-weight: 400;
  line-height: 1.2;
}

.about-name-inline {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #111827;
}

.principle-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 3px solid transparent;
  border-radius: 18px;
  padding: 28px 26px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.principle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border-top-color: #245dff;
}
.principle-card:nth-child(2):hover {
  border-top-color: #7c4dff;
}
.principle-card:nth-child(3):hover {
  border-top-color: #10b981;
}

.about-marquee-mask {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  overflow: hidden;
}

.about-marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: about-marquee 26s linear infinite;
}
.about-marquee-mask:hover .about-marquee-track {
  animation-play-state: paused;
}
@keyframes about-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #475569;
  font-weight: 400;
  padding: 10px 18px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 100px;
  background: #fff;
  white-space: nowrap;
}

.about-stat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-stat-card:hover {
  border-color: rgba(36, 93, 255, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.about-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #245dff, #7c4dff);
  border-radius: 2px;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  background: #fff;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.about-tag:hover {
  border-color: rgba(36, 93, 255, 0.3);
  color: #111827;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.about-philosophy-item {
  position: relative;
  padding-left: 20px;
}
.about-philosophy-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #245dff, #7c4dff);
}

.floating-nav-3d {
  position: fixed;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1279px) {
  .floating-nav-3d {
    display: none !important;
  }
}

.cube-wrap {
  position: relative;
  width: 64px;
  height: 64px;
}
.cube-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(36, 93, 255, 0.15) 0%,
    transparent 70%
  );
  transition: all 0.6s ease;
  pointer-events: none;
}

.cube-scene {
  width: 64px;
  height: 64px;
  perspective: 500px;
}
.cube-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-20deg) rotateY(30deg);
}

.cube-face {
  position: absolute;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(36, 93, 255, 0.2);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(36, 93, 255, 0.05),
    rgba(124, 77, 255, 0.05)
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cube-face iconify-icon {
  color: rgba(36, 93, 255, 0.4);
  transition: color 0.6s ease;
}
.cube-face.front {
  transform: translateZ(32px);
}
.cube-face.back {
  transform: rotateY(180deg) translateZ(32px);
}
.cube-face.right {
  transform: rotateY(90deg) translateZ(32px);
}
.cube-face.left {
  transform: rotateY(-90deg) translateZ(32px);
}
.cube-face.top {
  transform: rotateX(90deg) translateZ(32px);
}
.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(32px);
}

.nav-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}
.nav-dots::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #e5e7eb, transparent);
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5e7eb;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dot.active {
  background: linear-gradient(135deg, #245dff, #7c4dff);
  box-shadow: 0 0 14px rgba(36, 93, 255, 0.45);
  transform: scale(1.4);
}

.nav-dot-label {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.nav-dot:hover .nav-dot-label {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}
.nav-dot.active .nav-dot-label {
  opacity: 1;
  color: #111827;
  font-weight: 500;
  transform: translateY(-50%) translateX(-4px);
}

.nav-section-name {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #245dff;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
  margin-top: 4px;
  transition: color 0.4s ease;
}

.testimonial-slider {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 6%,
    black 94%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 6%,
    black 94%,
    transparent
  );
}

.testimonial-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonial-marquee 32s linear infinite;
}
.testimonial-slider:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  flex-shrink: 0;
  width: 78vw;
  max-width: 420px;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(36, 93, 255, 0.35) !important;
  box-shadow:
    0 24px 55px rgba(36, 93, 255, 0.2),
    0 8px 20px rgba(124, 77, 255, 0.12) !important;
}

.testimonial-card .w-12,
.testimonial-card .w-14 {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover .w-12,
.testimonial-card:hover .w-14 {
  transform: scale(1.08) rotate(-4deg);
}

@keyframes testimonial-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

#contact {
  background: linear-gradient(160deg, #fcfaf6 0%, #f1f5f9 55%, #fcfaf6 100%);
}
#about {
  background: linear-gradient(
    180deg,
    rgba(36, 93, 255, 0.035) 0%,
    rgba(124, 77, 255, 0.02) 45%,
    transparent 100%
  );
}
#expertise {
  background: linear-gradient(
    180deg,
    rgba(124, 77, 255, 0.03) 0%,
    rgba(36, 93, 255, 0.025) 100%
  );
}
#work {
  background: linear-gradient(
    180deg,
    rgba(36, 93, 255, 0.03) 0%,
    transparent 60%,
    rgba(124, 77, 255, 0.02) 100%
  );
}
#awards {
  background: linear-gradient(
    180deg,
    rgba(124, 77, 255, 0.025) 0%,
    rgba(36, 93, 255, 0.03) 100%
  );
}
#philosophy {
  background: linear-gradient(
    180deg,
    rgba(36, 93, 255, 0.025) 0%,
    rgba(124, 77, 255, 0.035) 100%
  );
}

.contact-field-label {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  display: block;
}
.contact-field-label .req {
  color: #ef4444;
  margin-left: 2px;
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  background: #fcfaf6;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 13px 16px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #111827;
  outline: none;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: #245dff;
  box-shadow: 0 0 0 3px rgba(36, 93, 255, 0.15);
}
.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #6b7280;
}
.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-submit-btn {
  background: linear-gradient(135deg, #245dff, #0f2a6b);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 40px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(36, 93, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(36, 93, 255, 0.4);
}
.contact-submit-btn:active {
  transform: translateY(0);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(248, 250, 252, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  transition: color 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
  transition:
    color 0.3s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease;
}

.mobile-menu.is-open a {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu.is-open a:nth-child(1) {
  transition-delay: 0.05s;
}
.mobile-menu.is-open a:nth-child(2) {
  transition-delay: 0.1s;
}
.mobile-menu.is-open a:nth-child(3) {
  transition-delay: 0.15s;
}
.mobile-menu.is-open a:nth-child(4) {
  transition-delay: 0.2s;
}
.mobile-menu.is-open a:nth-child(5) {
  transition-delay: 0.25s;
}
.mobile-menu a:hover {
  color: #245dff;
}

.mobile-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  transition: color 0.3s ease;
}

.mobile-close-btn:hover {
  color: #245dff;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #245dff, #7c4dff);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: #111827;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link.is-active {
  color: #111827;
}
.nav-link.is-active::after {
  width: 100%;
}

.trusted-marquee-mask {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  overflow: hidden;
}

.trusted-marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: trusted-marquee 28s linear infinite;
}
@keyframes trusted-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.trusted-logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.trusted-logo:hover {
  color: #475569;
}

.page-hero {
  padding-top: 140px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-hero .page-hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
}

.footer-link {
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: #111827;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social:hover {
  border-color: #245dff;
  color: #245dff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(36, 93, 255, 0.15);
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.case-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
  border-color: rgba(36, 93, 255, 0.2);
}
.case-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.case-card:hover .case-card-img {
  transform: scale(1.04);
}

.award-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  transition: all 0.3s ease;
}
.award-item:last-child {
  border-bottom: none;
}
.award-item:hover {
  padding-left: 12px;
}

.award-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(36, 93, 255, 0.08),
    rgba(124, 77, 255, 0.08)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-item {
  background: #fff;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  will-change: transform;
}
.bento-item:hover {
  background: #fcfaf6;
}
.bento-item-large {
  grid-column: span 2;
}
@media (max-width: 767px) {
  .bento-item-large {
    grid-column: span 1;
  }
}

.contact-info-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-info-card:hover {
  border-color: rgba(36, 93, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(36, 93, 255, 0.08),
    rgba(124, 77, 255, 0.08)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.glass-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
  will-change: transform;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(36, 93, 255, 0.55),
    rgba(169, 85, 247, 0.226),
    rgba(255, 255, 255, 0.15)
  );
  opacity: 0;
  transition: 0.45s;
  border-radius: inherit;
  z-index: -1;
}

.glass-card::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -60%;
  width: 45%;
  height: 320%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: rotate(25deg);
  transition: 1s;
}

.glass-card:hover {
  transform: translateY(-14px) scale(1.03);
  border-color: rgba(36, 93, 255, 0.45);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.35),
    0 0 35px rgba(36, 93, 255, 0.18);
}
.glass-card:hover::before {
  opacity: 1;
}
.glass-card:hover::after {
  left: 160%;
}

.recognition-switch {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}
.recognition-btn {
  padding: 14px 34px;
  border-radius: 100px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.35s;
}
.recognition-btn.active {
  background: linear-gradient(135deg, #245dff, #7c4dff);
  color: #fff;
  border: none;
}
.recognition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.recognition-card {
  overflow: hidden;
  border-radius: 22px;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.recognition-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s;
}
.recognition-card:hover img {
  transform: scale(1.08);
}
.recognition-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
}
.recognition-overlay h4 {
  font-size: 18px;
  font-weight: 600;
}

#awards {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fafcff 0%, #f4f8fc 100%);
}
.gallery-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 0 auto 60px;
}
.gallery-btn {
  padding: 14px 34px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #475569;
  transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}
.gallery-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(36, 93, 255, 0.12);
}
.gallery-btn.active {
  background: linear-gradient(135deg, #245dff, #7c4dff);
  color: #fff;
  border-color: transparent;
}
.gallery-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  animation: fadeGallery 0.5s ease;
}
@keyframes fadeGallery {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  height: 260px;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}
.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(36, 93, 255, 0.18);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  background: #fff;
  transition: 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-card:hover img {
  transform: scale(1.08);
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92),
    rgba(0, 0, 0, 0.45),
    transparent
  );
  opacity: 0;
  transition: 0.45s;
}
.gallery-card:hover::after {
  opacity: 1;
}
.award-overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff;
  z-index: 5;
  opacity: 0;
  transform: translateY(35px);
  transition: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-card:hover .award-overlay {
  opacity: 1;
  transform: translateY(0);
}
.award-overlay span {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.award-overlay h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
@media (max-width: 992px) {
  .gallery-card {
    height: 240px;
  }
}
@media (max-width: 768px) {
  .gallery-tabs {
    flex-direction: column;
  }
  .gallery-btn {
    width: 220px;
    text-align: center;
  }
  .gallery-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .gallery-card {
    height: 200px;
  }
  .award-overlay h3 {
    font-size: 17px;
  }
}
@media (max-width: 520px) {
  .gallery-panel {
    grid-template-columns: 1fr;
  }
  .gallery-card {
    height: 240px;
  }
}

.page-snake-wrap {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-snake-wrap.is-visible {
  opacity: 1;
}
.page-snake-svg {
  display: block;
  overflow: visible;
}

.snake-marker {
  position: absolute;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transform: scale(0);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.snake-marker.is-visible {
  opacity: 1;
  transform: scale(1);
}
.snake-marker.is-visible circle {
  animation: marker-pulse 2.5s ease-in-out infinite;
}
@keyframes marker-pulse {
  0%,
  100% {
    stroke-opacity: 0.5;
  }
  50% {
    stroke-opacity: 1;
  }
}

.glass-card,
.service-card-plain,
.testimonial-card,
.case-card,
.principle-card,
.about-stat-card,
.contact-info-card,
.award-item,
.bento-item,
.about-portrait-outer,
.about-float-badge,
.laptop-mockup-wrap {
  position: relative;
  z-index: 10;
}
section {
  position: relative;
  z-index: 6;
}
.nav-blur,
.floating-nav-3d,
.mobile-menu,
.toast {
  z-index: 50 !important;
}

.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #245dff, #7c4dff);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(36, 93, 255, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}
.chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(36, 93, 255, 0.55);
}
.chat-toggle.is-active {
  background: #111827;
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.3);
}
.chat-toggle iconify-icon {
  pointer-events: none;
}
.chat-icon-close {
  display: none;
}
.chat-toggle.is-active .chat-icon-open {
  display: none;
}
.chat-toggle.is-active .chat-icon-close {
  display: block;
}
.chat-toggle::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(36, 93, 255, 0.3);
  animation: chat-pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}
.chat-toggle.is-active::before {
  animation: none;
  opacity: 0;
}
@keyframes chat-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.chat-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.chat-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #111827;
}
.chat-toggle:hover + .chat-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.chat-box {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 20px;
  box-shadow:
    0 24px 60px rgba(17, 24, 39, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transform-origin: bottom right;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-box.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-header {
  background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-radius: 20px 20px 0 0;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #245dff, #7c4dff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.chat-header-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.chat-header-status {
  font-size: 11px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
  display: inline-block;
}
.chat-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.chat-close-btn iconify-icon {
  pointer-events: none;
}
.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100px;
}
.chat-message {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.chat-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #245dff, #7c4dff);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-bubble {
  background: #f1f5f9;
  border-radius: 16px 16px 16px 4px;
  padding: 12px 16px;
  font-size: 13px;
  color: #334155;
  line-height: 1.55;
  max-width: 85%;
  font-weight: 400;
}
.chat-message-outgoing {
  justify-content: flex-end;
}
.chat-message-outgoing .chat-bubble {
  background: linear-gradient(135deg, #245dff, #0f2a6b);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
  margin-left: auto;
}
.chat-form {
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(229, 231, 235, 0.8);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(248, 250, 252, 0.6);
}
.chat-input {
  width: 100%;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 11px 14px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #111827;
  outline: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.chat-input:focus {
  border-color: #245dff;
  box-shadow: 0 0 0 3px rgba(36, 93, 255, 0.12);
}
.chat-input::placeholder {
  color: #6b7280;
}
.chat-textarea {
  resize: none;
  min-height: 70px;
}
.chat-submit-btn {
  background: linear-gradient(135deg, #245dff, #7c4dff);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(36, 93, 255, 0.3);
}
.chat-submit-btn iconify-icon {
  pointer-events: none;
}
.chat-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(36, 93, 255, 0.4);
}
@media (max-width: 480px) {
  .chat-widget {
    bottom: 18px;
    right: 18px;
  }
  .chat-toggle {
    width: 54px;
    height: 54px;
  }
  .chat-box {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    bottom: 90px;
    width: auto;
    max-height: none;
    border-radius: 18px;
  }
  .chat-tooltip {
    display: none;
  }
}

/* =====================================================================
   REDESIGN ADDITIONS — layout, depth, and background system
   Every rule below is additive; nothing above is overridden destructively.
   ===================================================================== */

/* ---- Giant faint background words ---- */
.bg-word {
  position: absolute;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(6rem, 22vw, 20rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #111827;
  opacity: 0.028;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.bg-word.right {
  right: -2%;
  text-align: right;
}
.bg-word.left {
  left: -2%;
}
.bg-word.center {
  left: 50%;
  transform: translateX(-50%);
}

/* ---- Blueprint grid layer ---- */
.bg-grid-layer {
  position: absolute;
  inset: -10% -10%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(36, 93, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 93, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    #000 40%,
    transparent 85%
  );
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    #000 40%,
    transparent 85%
  );
}

/* ---- Floating dot field ---- */
.bg-dot-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-float-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #245dff;
  opacity: 0.18;
}
.bg-float-dot.purple {
  background: #7c4dff;
  opacity: 0.14;
}
.bg-float-dot.lg {
  width: 8px;
  height: 8px;
}
.bg-float-dot.sm {
  width: 3px;
  height: 3px;
}

/* ---- Orbit rings ---- */
.bg-orbit-wrap {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.bg-orbit-ring {
  fill: none;
  stroke: rgba(36, 93, 255, 0.14);
  stroke-width: 1;
  stroke-dasharray: 2 10;
}
.bg-orbit-ring.solid {
  stroke-dasharray: none;
  stroke: rgba(124, 77, 255, 0.1);
}

/* ---- Section divider (organic wave transitions) ---- */
.section-divider {
  position: relative;
  width: 100%;
  height: clamp(60px, 10vw, 140px);
  overflow: hidden;
  margin-top: -1px;
  z-index: 7;
}
.section-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}
.section-divider-path {
  fill: none;
  stroke: url(#dividerGrad);
  stroke-width: 2;
  opacity: 0.5;
}

/* ---- Layout: HERO floating metric cards (replaces plain inline row on desktop) ---- */
.hero-float-metric {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
  z-index: 3;
}
.hero-float-metric .num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #111827;
  line-height: 1;
}
.hero-float-metric .lbl {
  font-size: 10px;
  color: #475569;
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
@media (max-width: 1023px) {
  .hero-float-metric {
    position: static;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ---- Layout: About split (text left / laptop right) ---- */
.about-split-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 5vw, 48px);
  text-align: center;
}
@media (max-width: 1023px) {
  .about-split-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.about-split-text {
  max-width: 720px;
}
.about-split-text .section-label {
  display: inline-block;
}

/* ---- Layout: Services bento (big feature + two stacked) ---- */
.services-bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .services-bento {
    grid-template-columns: 1fr;
  }
}
.bento-feature-card {
  background: linear-gradient(155deg, #111827 0%, #1e293b 100%);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}
.bento-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(36, 93, 255, 0.28),
      transparent 55%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(124, 77, 255, 0.22),
      transparent 50%
    );
  pointer-events: none;
}
.bento-feature-card .service-icon-wrap {
  background: rgba(255, 255, 255, 0.08);
}
.bento-feature-card h3 {
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}
.bento-feature-card p {
  color: #6b7280;
}
.bento-stack-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.bento-stack-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-stack-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border-color: rgba(36, 93, 255, 0.22);
}

/* ---- Layout: Featured Results timeline ---- */
.timeline-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.timeline-svg-spine {
  position: absolute;
  left: 27px;
  top: 0;
  width: 4px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 640px) {
  .timeline-svg-spine {
    left: 19px;
  }
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 48px;
  /* FIX: removed leftover opacity:0 / translateX(-24px) from the old
     zig-zag design. Those never got animated back to visible because
     script.js only targets .zigzag-card / .zigzag-marker (unused now),
     so the Discover / Strategize text was stuck invisible forever.
     .glass-card inside already fades in via revealGroup(), so no JS
     change is needed — just don't hide the wrapper here. */
}
.timeline-node:last-child {
  padding-bottom: 0;
}
.timeline-node .timeline-marker {
  flex-shrink: 0;
}
.timeline-node .timeline-content {
  flex: 1;
  min-width: 0;
}
@media (max-width: 640px) {
  .timeline-node {
    gap: 16px;
  }
}
.timeline-marker {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #245dff, #7c4dff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 26px rgba(36, 93, 255, 0.28);
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}
.timeline-content {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px 28px;
}
.timeline-content .step-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #6b7280;
}

/* ---- Layout: Testimonials backdrop ---- */
#testimonials-section {
  position: relative;
}

/* ---- Layout: CTA asymmetrical split ---- */
.cta-asymmetric {
  display: block;
  width: 100%;
  align-items: center;
  text-align: left;
}
@media (max-width: 900px) {
  .cta-asymmetric {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.cta-side-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 36px);
}
.cta-metric-row {
  display: flex;
  gap: 28px;
  margin-top: 20px;
}
@media (max-width: 900px) {
  .cta-metric-row {
    justify-content: center;
  }
}
.cta-metric-row .item {
  text-align: left;
}
@media (max-width: 900px) {
  .cta-metric-row .item {
    text-align: center;
  }
}

/* Ensure any element positioned above bg layers stays interactive */
.about-split-grid,
.services-bento,
.timeline-wrap,
.cta-asymmetric,
.hero > .relative {
  position: relative;
  z-index: 2;
}

/* Desktop-only floating metric positions for hero */
@media (min-width: 1024px) {
  .metric-pos-1 {
    top: 18%;
    left: 4%;
  }
  .metric-pos-2 {
    top: 58%;
    left: 2%;
  }
  .metric-pos-3 {
    top: 30%;
    right: 4%;
    left: auto;
  }
}
/* ===== ZIG-ZAG TIMELINE (Featured Results redesign) ===== */
/* ===== ZIG-ZAG TIMELINE (Featured Results — premium redesign) ===== */
.zigzag-timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.zigzag-spine-svg {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.zigzag-row {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
  padding-bottom: 72px;
}
.zigzag-row:last-child {
  padding-bottom: 0;
}
.zigzag-row.is-right {
  flex-direction: row-reverse;
}
/* Safety fallback: agar JS/GSAP kabhi load na ho paaye,
   toh content hamesha visible rahega */
.no-js-anim .zigzag-card,
.no-js-anim .fade-up,
.no-js-anim .glass-card,
.no-js-anim .timeline-node {
  opacity: 1 !important;
  transform: none !important;
}

.zigzag-card {
  flex: 1;
  min-width: 0;
  padding: 30px 32px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}
.zigzag-row.is-left .zigzag-card {
  text-align: right;
}
.zigzag-row.is-right .zigzag-card {
  text-align: left;
}

.zigzag-bignum {
  position: absolute;
  top: -6px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 5.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(
    135deg,
    rgba(36, 93, 255, 0.14),
    rgba(124, 77, 255, 0.14)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  z-index: 0;
}
.zigzag-row.is-left .zigzag-bignum {
  right: 20px;
}
.zigzag-row.is-right .zigzag-bignum {
  left: 20px;
}

.zigzag-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.zigzag-row.is-left .zigzag-card-head {
  justify-content: flex-end;
}
.zigzag-row.is-right .zigzag-card-head {
  justify-content: flex-start;
}

.zigzag-card p {
  position: relative;
  z-index: 1;
}

/* connector line from marker to card */
.zigzag-connector {
  height: 2px;
  width: 36px;
  flex-shrink: 0;
  background: linear-gradient(
    90deg,
    rgba(36, 93, 255, 0.5),
    rgba(124, 77, 255, 0.5)
  );
  position: relative;
  z-index: 1;
  transform: scaleX(0);
  transform-origin: center;
}
.zigzag-row.is-left .zigzag-connector:first-of-type {
  transform-origin: right;
}
.zigzag-row.is-right .zigzag-connector:first-of-type {
  transform-origin: left;
}

.zigzag-marker {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, #245dff, #7c4dff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow:
    0 14px 34px rgba(36, 93, 255, 0.32),
    0 0 0 6px rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.zigzag-marker iconify-icon {
  position: relative;
  z-index: 1;
}

.zigzag-marker-ring {
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  border: 2px solid rgba(36, 93, 255, 0.35);
  animation: zigzag-ring-pulse 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}
@keyframes zigzag-ring-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.zigzag-row:hover .zigzag-marker {
  transform: scale(1.08) rotate(-6deg);
}

.zigzag-spacer {
  flex: 1;
}

/* pre-reveal states — GSAP animates in via JS */
.zigzag-row.is-left .zigzag-card {
  opacity: 0;
  transform: translateX(-40px);
}
.zigzag-row.is-right .zigzag-card {
  opacity: 0;
  transform: translateX(40px);
}

@media (max-width: 767px) {
  .zigzag-spine-svg {
    left: 20px;
    transform: none;
  }
  .zigzag-row,
  .zigzag-row.is-right {
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
  }
  .zigzag-connector {
    display: none;
  }
  .zigzag-spacer {
    display: none;
  }
  .zigzag-marker {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .zigzag-bignum {
    font-size: 3.2rem;
    top: -4px;
  }
  .zigzag-card,
  .zigzag-row.is-left .zigzag-card,
  .zigzag-row.is-right .zigzag-card {
    text-align: left;
  }
  .zigzag-row.is-left .zigzag-bignum,
  .zigzag-row.is-right .zigzag-bignum {
    left: auto;
    right: 16px;
  }
  .zigzag-row.is-left .zigzag-card-head,
  .zigzag-row.is-right .zigzag-card-head {
    justify-content: flex-start;
  }
}
.about-portrait-outer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-float-badge {
  position: absolute;
  z-index: 20;

  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;

  padding: 16px 20px;

  box-shadow:
    0 18px 45px rgba(17, 24, 39, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.6);

  min-width: 180px;

  transition: 0.4s;
}

.about-float-badge:hover {
  transform: translateY(-6px);
}

.badge-left {
  top: 14%;
  left: -60px;
}

.badge-right {
  bottom: 14%;
  right: -60px;
}

.about-float-badge .num {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
}

.about-float-badge .lbl {
  margin-top: 4px;
  font-size: 13px;
  color: #64748b;
}

/* Tablet */
@media (max-width: 1024px) {
  .badge-left {
    left: -20px;
  }

  .badge-right {
    right: -20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about-float-badge {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;

    margin: 18px auto 0;
    width: 220px;
  }

  .badge-left,
  .badge-right {
    transform: none;
  }
}
/* ===== PRELOADER — Premium Rounded Reveal ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preloader-inner {
  position: relative;
  width: 100%;
  text-align: center;
  perspective: 800px;
}

/* ── Rounded container that holds the text ── */
.preloader-card {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 340px;
  min-height: 180px;
  padding: 40px 50px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

/* ── Glow ring behind the card ── */
.preloader-card::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 60px;
  background: radial-gradient(
    ellipse at center,
    rgba(36, 93, 255, 0.12) 0%,
    rgba(124, 77, 255, 0.08) 40%,
    transparent 70%
  );
  pointer-events: none;
  animation: preloaderGlow 2.5s ease-in-out infinite alternate;
}

@keyframes preloaderGlow {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* ── Animated border gradient ── */
.preloader-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 1.5px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    rgba(36, 93, 255, 0.6),
    rgba(124, 77, 255, 0.3),
    rgba(36, 93, 255, 0.1),
    rgba(124, 77, 255, 0.6),
    rgba(36, 93, 255, 0.6)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: borderRotate 3s linear infinite;
  opacity: 0.7;
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderRotate {
  to {
    --border-angle: 360deg;
  }
}

/* ── Text lines ── */
.pl-line {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.3;
  position: relative;
  display: block;
  min-height: 1.4em;
}

.pl-line .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) rotateX(-70deg);
}

.pl-line .ch.sp {
  width: 0.28em;
}

.pl-line .ch.grad {
  background: linear-gradient(135deg, #6c8fff, #245dff, #7c4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pl-line2 {
  position: relative;
  min-height: 1.4em;
  margin-top: 8px;
}

.pl-phrase {
  display: inline-block;
}

/* ── Small loading bar under text ── */
.preloader-bar-wrap {
  margin-top: 28px;
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #245dff, #7c4dff);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.preloader-bar.animate {
  animation: preloaderBarFill 3.8s ease-in-out forwards;
}

@keyframes preloaderBarFill {
  0% {
    width: 0%;
  }
  15% {
    width: 35%;
  }
  40% {
    width: 55%;
  }
  65% {
    width: 78%;
  }
  85% {
    width: 92%;
  }
  100% {
    width: 100%;
  }
}

/* ── "Loading" micro text ── */
.preloader-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 16px;
  opacity: 0;
}

/* ── MAIN SITE hidden until preloader finishes ── */
.main-site {
  opacity: 0;
  overflow: hidden;
}

/* ── Rounded circle reveal overlay ── */
.preloader-reveal {
  position: fixed;
  inset: 0;
  z-index: 99998;
  pointer-events: none;
  background: #111827;
  border-radius: 50%;
}

/* ── Smooth scroll ── */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ── Mobile adjustments ── */
@media (max-width: 480px) {
  .preloader-card {
    min-width: 280px;
    min-height: 150px;
    padding: 32px 30px;
    border-radius: 24px;
  }
  .preloader-card::after {
    border-radius: 24px;
  }
  .preloader-bar-wrap {
    width: 100px;
  }
}
.booking-widget {
  position: fixed;
  bottom: 106px;
  right: 28px;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* ── Status bubble ── */
.booking-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #111827;
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 500;
  padding: 9px 10px 9px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.22);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.booking-bubble.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.booking-bubble-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  flex-shrink: 0;
  animation: booking-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes booking-dot-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.booking-bubble-close {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.booking-bubble-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ── Main button ── */
.booking-btn {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  background: #111827;
  border-radius: 999px;
  padding: 3px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.3);
  animation: booking-idle-float 3.6s ease-in-out infinite;
}

@keyframes booking-idle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.booking-btn-border {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 1.5px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    rgba(36, 93, 255, 0.9),
    rgba(124, 77, 255, 0.5),
    rgba(36, 93, 255, 0.1),
    rgba(124, 77, 255, 0.9),
    rgba(36, 93, 255, 0.9)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: booking-border-rotate 3.5s linear infinite;
  pointer-events: none;
}

@keyframes booking-border-rotate {
  to {
    --border-angle: 360deg;
  }
}

.booking-btn-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
}

.booking-btn-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c8fff, #7c4dff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.booking-btn:hover .booking-btn-icon {
  transform: rotate(-10deg) scale(1.08);
}
.booking-btn-icon iconify-icon {
  animation: booking-icon-bounce 2.4s ease-in-out infinite;
}
@keyframes booking-icon-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.booking-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.booking-btn-title {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}
.booking-btn-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: #7dd3fc;
}

.booking-btn-arrow {
  color: #64748b;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s ease;
}
.booking-btn:hover .booking-btn-arrow {
  transform: translate(3px, -3px);
  color: #6c8fff;
}

@media (max-width: 480px) {
  .booking-widget {
    bottom: 86px;
    right: 18px;
  }
  .booking-btn-sub {
    display: none;
  }
  .booking-btn-title {
    font-size: 12px;
  }
  .booking-btn-inner {
    padding: 5px 12px 5px 5px;
    gap: 8px;
  }
  .booking-btn-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
  .booking-bubble {
    font-size: 11px;
    padding: 7px 8px 7px 12px;
  }
}
/* =========================================
   CLEAN PREMIUM HOVER & BUTTON OVERRIDES
   ========================================= */

/* Primary Buttons */
.hero-submit-btn,
.contact-submit-btn,
.laptop-search-submit,
.laptop-scroll-btn, 
button.magnetic-btn {
  background: linear-gradient(135deg, #245dff, #0f2a6b) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(36, 93, 255, 0.3) !important;
  border: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-radius: 8px !important;
}

/* Primary Buttons Hover */
.hero-submit-btn:hover,
.contact-submit-btn:hover,
.laptop-search-submit:hover,
button.magnetic-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(36, 93, 255, 0.4) !important;
  border: none !important;
  /* Background remains the same, keeping color in normal effect */
}

/* Clean Hover for Cards */
.glass-card:hover,
.service-card-plain:hover,
.case-card:hover,
.testimonial-card:hover,
.principle-card:hover,
.bento-item:hover,
.about-portrait-card:hover,
.about-stat-card:hover {
  border-color: #6c8fff !important;
  box-shadow: 0 12px 40px rgba(36, 93, 255, 0.08) !important;
  transform: translateY(-4px) !important;
}

/* Links & Navigation Hover */
a:hover,
.nav-link:hover,
.footer-link:hover,
.mobile-menu a:hover {
  color: #245dff !important;
}

/* Small UI Elements Hover */
.toast-close:hover,
.mobile-close-btn:hover,
.footer-social:hover,
.nav-dot:hover .nav-dot-label {
  background: #6c8fff !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

/* Icons within hoverable areas */
.service-card-plain:hover .service-icon-wrap {
  background: #245dff !important;
  box-shadow: 0 4px 15px rgba(36, 93, 255, 0.3) !important;
}

.service-card-plain:hover h3,
.service-card-plain:hover p {
  background: none !important;
  -webkit-text-fill-color: initial !important;
  color: #0f2a6b !important;
}

/* General Text Selection for a unified clean look */
::selection {
  background: #6c8fff !important;
  color: #ffffff !important;
}

/* =========================================
   3D RECEPTIONIST ROBOT WIDGET
   ========================================= */
.robot-widget {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
}

.robot-widget:hover {
  transform: translateX(-50%) translateY(-8px);
}

.robot-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
}

/* Cute Pop-up Message */
.robot-tooltip {
  background: #ffffff;
  color: #0f2a6b;
  padding: 10px 22px;
  border-radius: 20px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(36, 93, 255, 0.2);
  border: 2px solid #6c8fff;
  margin-bottom: 5px;
  position: relative;
  animation: robot-float 2.5s infinite ease-in-out;
}

.robot-tooltip::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px 7px 0;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}
.robot-tooltip::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 9px 9px 0;
  border-style: solid;
  border-color: #6c8fff transparent transparent transparent;
  z-index: -1;
}

/* 3D Model Container */
.robot-model {
  width: 220px;
  height: 220px;
  position: relative;
  border-radius: 50%;
  /* Subtle glow behind the robot */
  background: radial-gradient(
    circle,
    rgba(108, 143, 255, 0.15) 0%,
    transparent 60%
  );
}

.robot-model iframe {
  width: 100%;
  height: 100%;
  pointer-events: none; /* Make click pass through to the absolute overlay */
}

/* Typing animation */
.typing-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  animation: typing-robot 2s steps(7) infinite;
  vertical-align: bottom;
}

@keyframes typing-robot {
  0%,
  10% {
    width: 0;
  }
  60%,
  90% {
    width: 62px;
  }
  100% {
    width: 0;
  }
}

@keyframes robot-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
/* ===== VIRTUAL CMO SECTION STYLES ===== */

/* — Compare Pill — */
.vcmo-compare-pill {
  display: inline-flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.vcmo-pill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 28px;
  color: #6b7280;
  transition: all 0.35s ease;
  cursor: default;
}

.vcmo-pill-item span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #111827;
}

.vcmo-pill-item small {
  font-size: 11px;
  font-weight: 400;
  color: #94a3b8;
}

.vcmo-pill-item iconify-icon {
  color: #94a3b8;
  transition: color 0.35s ease;
}

.vcmo-pill-active {
  background: linear-gradient(
    135deg,
    rgba(36, 93, 255, 0.06),
    rgba(124, 77, 255, 0.04)
  );
}

.vcmo-pill-active iconify-icon {
  color: #245dff;
}

.vcmo-pill-active span {
  background: linear-gradient(135deg, #245dff, #7c4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vcmo-pill-divider {
  display: flex;
  align-items: center;
  padding: 0 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #cbd5e1;
  letter-spacing: 0.05em;
}

/* — What They Do Grid — */
.vcmo-do-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.vcmo-do-card {
  padding: 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.vcmo-do-card-wide {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .vcmo-do-grid {
    grid-template-columns: 1fr;
  }
  .vcmo-do-card-wide {
    grid-column: span 1;
  }
}

.vcmo-do-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vcmo-do-card:hover .vcmo-do-icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(36, 93, 255, 0.15);
}

/* — Why Grid — */
.vcmo-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .vcmo-why-grid {
    grid-template-columns: 1fr;
  }
}

.vcmo-why-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.vcmo-why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #245dff, #7c4dff);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.vcmo-why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
  border-color: rgba(36, 93, 255, 0.2);
}

.vcmo-why-card:hover::before {
  opacity: 1;
}

.vcmo-why-number {
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.vcmo-why-num-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #245dff, #7c4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vcmo-why-num-suffix {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.vcmo-why-number-alt {
  margin-bottom: 16px;
}

.vcmo-why-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 14px;
  background: rgba(36, 93, 255, 0.05);
  border: 1px solid rgba(36, 93, 255, 0.12);
  border-radius: 100px;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  color: #245dff;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.vcmo-why-card:hover .vcmo-why-tag {
  background: linear-gradient(
    135deg,
    rgba(36, 93, 255, 0.1),
    rgba(124, 77, 255, 0.08)
  );
  border-color: rgba(36, 93, 255, 0.25);
}

/* — Who Is It For Grid — */
.vcmo-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .vcmo-who-grid {
    grid-template-columns: 1fr;
  }
}

.vcmo-who-card {
  padding: 32px 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.vcmo-who-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vcmo-who-card:hover .vcmo-who-avatar {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 24px rgba(36, 93, 255, 0.12);
}

.vcmo-who-subtitle {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
  font-style: italic;
}

.vcmo-who-sign {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
  color: #6b7280;
  letter-spacing: 0.03em;
}

.vcmo-who-sign-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: sign-dot-pulse 2s ease-in-out infinite;
}

@keyframes sign-dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}
/* ===== RESPONSIVE FIXES ===== */

/* 1. Glass card hover scale overflow on mobile */
@media (max-width: 767px) {
  .glass-card:hover {
    transform: translateY(-8px) scale(1) !important;
    box-shadow:
      0 16px 40px rgba(0, 0, 0, 0.12),
      0 0 20px rgba(36, 93, 255, 0.1) !important;
  }
  .glass-card::after {
    display: none;
  }
}

/* 2. vcmo-compare-pill mobile stack */
@media (max-width: 480px) {
  .vcmo-compare-pill {
    flex-direction: column;
    border-radius: 16px;
  }
  .vcmo-pill-item {
    padding: 12px 24px;
  }
  .vcmo-pill-divider {
    padding: 0;
    height: 1px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* 3. vcmo-why-number mobile size */
@media (max-width: 480px) {
  .vcmo-why-num-text {
    font-size: 36px;
  }
  .vcmo-why-card {
    padding: 24px 20px;
  }
}

/* 4. vcmo-who-grid mobile fix */
@media (max-width: 480px) {
  .vcmo-who-card {
    padding: 24px 20px;
  }
  .vcmo-who-avatar {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }
}

/* 5. #virtual-cmo mobile — hide empty dashboard space, center text */
@media (max-width: 1023px) {
  #virtual-cmo .max-w-7xl {
    text-align: center;
  }
  #virtual-cmo .max-w-7xl > div:first-child {
    align-items: center;
  }
}

/* 6. Prevent horizontal overflow from any animated element */
section,
.vcmo-do-grid,
.vcmo-why-grid,
.vcmo-who-grid {
  overflow-x: hidden;
}

/* 7. Laptop section mobile padding */
@media (max-width: 640px) {
  #laptop-intro .laptop-mockup-wrap {
    padding: 0 8px;
  }
  .laptop-base {
    width: 110%;
    margin-left: -5%;
  }
}

/* 8. vcmo-do-card-wide mobile */
@media (max-width: 640px) {
  .vcmo-do-card-wide {
    grid-column: span 1 !important;
  }
}

/* 9. Hero URL input mobile */
@media (max-width: 400px) {
  .url-input-wrapper {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
  }
  .url-input-wrapper input {
    width: 100%;
    order: 1;
  }
  .hero-submit-btn {
    width: 100%;
    text-align: center;
    order: 2;
  }
}

/* 10. Metric items mobile gap */
@media (max-width: 380px) {
  #hero .metric-divider {
    height: 36px;
  }
  #hero .font-display.text-2xl {
    font-size: 1.25rem;
  }
  #hero .text-xs {
    font-size: 10px;
  }
}
/* ===== LAPTOP LINK FIX + MOBILE IMAGE ONLY ===== */

/* 1. Fix link not working — magnetic effect moves button outside overflow:hidden */
.laptop-screen-inner .magnetic-btn,
.laptop-screen-inner .magnetic-btn .btn-inner {
  transform: none !important;
}

.laptop-scroll-btn {
  pointer-events: auto !important;
  position: relative;
  z-index: 50 !important;
}

/* 2. Desktop: ensure text-col doesn't clip the button */
.laptop-about-text-col {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
}

/* 3. Remove the orb pseudo-element that blocks clicks */
.laptop-about-text-col::before {
  pointer-events: none !important;
}

/* ========================================
   MOBILE: Image only + floating button
   ======================================== */
@media (max-width: 767px) {
  #laptop-intro {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .laptop-mockup-wrap {
    padding: 0 4px;
  }

  .laptop-mockup {
    width: 100% !important;
    max-width: 100% !important;
  }

  .laptop-screen {
    padding: 5px 5px 10px;
    border-radius: 10px 10px 3px 3px;
  }

  .laptop-camera {
    width: 4px;
    height: 4px;
    top: 2px;
  }

  /* About view: single column, image full */
  .laptop-about-view.is-active {
    grid-template-columns: 1fr;
    position: relative;
    padding: 0 !important;
    gap: 0 !important;
  }

  .laptop-about-img-col {
    width: 100%;
    min-height: 0;
    border-radius: 6px;
  }

  .laptop-about-img-col::before {
    display: none;
  }

  .laptop-about-img-col::after {
    background: linear-gradient(
      180deg,
      transparent 30%,
      rgba(11, 18, 32, 0.85) 100%
    );
  }

  .laptop-about-photo {
    object-position: center 20%;
  }

  /* Text col: invisible overlay, only button shows */
  .laptop-about-text-col {
    position: absolute;
    inset: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 !important;
    gap: 0 !important;
    background: none !important;
    overflow: visible !important;
    z-index: 10;
  }

  /* Hide ALL text content, keep only button */
  .laptop-about-text-col > *:not(.laptop-scroll-btn) {
    display: none !important;
  }

  /* Floating button over image */
  .laptop-scroll-btn {
    position: relative !important;
    z-index: 50 !important;
    pointer-events: auto !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 10px 24px !important;
    margin-bottom: 10%;
    font-family: "Inter", sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff !important;
    background: rgba(36, 93, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 143, 255, 0.4) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(36, 93, 255, 0.3);
    transition: all 0.3s ease;
    transform: none !important;
  }

  

  .laptop-scroll-btn .btn-inner {
    transform: none !important;
    color: #fff !important;
  }

  /* Terminal view mobile adjustments */
  .laptop-screen-content {
    gap: 6px;
    padding: 10px 8px;
  }

  .laptop-terminal-line {
    font-size: 9px;
  }

  .laptop-role {
    font-size: 8px;
    padding: 0 8px;
  }

  .laptop-search-wrap {
    width: min(240px, 88%);
  }

  .laptop-search-bar {
    padding: 5px 5px 5px 10px;
    gap: 4px;
  }

  .laptop-search-input {
    font-size: 9px;
  }

  .laptop-search-submit {
    width: 24px;
    height: 24px;
  }

  /* Base smaller */
  .laptop-base {
    width: 108%;
    margin-left: -4%;
    height: 8px;
    border-radius: 0 0 8px 8px;
  }

  .laptop-base::before {
    width: 40px;
    height: 4px;
  }

  .laptop-reflection {
    width: 40%;
    height: 16px;
  }
}

/* Extra small: below 380px */
@media (max-width: 380px) {
  .laptop-screen {
    padding: 4px 4px 8px;
    border-radius: 8px 8px 2px 2px;
  }

  .laptop-scroll-btn {
    padding: 8px 18px !important;
    font-size: 10px !important;
    margin-bottom: 8%;
  }

  .laptop-base {
    height: 6px;
  }

  .laptop-reflection {
    display: none;
  }
}

/* ===============================
   AI MASCOT - BASE STYLES
================================ */

.mascot-root {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.mascot-root.show {
  opacity: 1;
}

.mascot-root * {
  pointer-events: auto;
}

/* ===============================
   CHAT BUBBLE
================================ */

.mascot-bubble {
  position: relative;

  width: 230px;

  min-height: 46px;

  padding: 10px 15px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(20px);

  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.25);

  box-shadow:
    0 8px 30px rgba(36, 93, 255, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.08);

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 5px;

  font-family: Inter, sans-serif;

  font-size: 14px;

  color: #111827;

  text-align: center;

  animation: bubbleFloat 6s ease-in-out infinite;
}

.mascot-bubble::after {
  content: "";

  position: absolute;

  bottom: -7px;

  left: 50%;

  transform: translateX(-50%) rotate(45deg);

  width: 14px;

  height: 14px;

  background: rgba(255, 255, 255, 0.75);

  border-right: 1px solid rgba(255, 255, 255, 0.25);

  border-bottom: 1px solid rgba(255, 255, 255, 0.25);

  backdrop-filter: blur(20px);
}

/* ===============================
   BUBBLE TEXT
================================ */

.mascot-bubble-text {
  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

  max-width: 100%;

  font-weight: 600;
}

/* Typing Cursor */

.mascot-caret {
  width: 2px;

  height: 15px;

  background: #245dff;

  border-radius: 2px;

  animation: caretBlink 0.9s infinite;
}

/* ===============================
   ROBOT
================================ */

.mascot-robot {
  position: relative;

  width: 82px;

  height: 82px;

  border: none;

  background: transparent;

  cursor: pointer;

  padding: 0;

  outline: none;

  filter: drop-shadow(0 12px 24px rgba(36, 93, 255, 0.25));

  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.35s;

  animation:
    robotFloat 4.5s ease-in-out infinite,
    robotBreath 3.5s ease-in-out infinite,
    robotTilt 7s ease-in-out infinite;
}

.mascot-robot:hover {
  transform: scale(1.08);
}

.mascot-robot svg {
  width: 100%;

  height: 100%;

  display: block;

  position: relative;

  z-index: 2;
}

/* ===============================
   GLOW
================================ */

.mascot-glow {
  position: absolute;

  inset: -14%;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(108, 143, 255, 0.55) 0%,

    rgba(36, 93, 255, 0.18) 45%,

    rgba(36, 93, 255, 0) 72%
  );

  animation: glowPulse 3.5s ease-in-out infinite;

  z-index: 1;

  pointer-events: none;
}

/* ===============================
   EYES
================================ */

.mascot-eye {
  transform-origin: center;

  animation: blink 5s infinite;
}

/* ===============================
   ANTENNA
================================ */

.mascot-antenna {
  transform-origin: 50px 20px;

  animation: antennaMove 3.5s ease-in-out infinite;
}

/* ===============================
   CLICK STATES
================================ */

.mascot-jump {
  animation:
    robotFloat 4.5s ease-in-out infinite,
    robotBreath 3.5s ease-in-out infinite,
    robotTilt 7s ease-in-out infinite,
    robotJump 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-wave {
  animation:
    robotFloat 4.5s ease-in-out infinite,
    robotBreath 3.5s ease-in-out infinite,
    robotWave 1.3s ease-in-out;
}
/* =========================================
   ANIMATIONS
========================================= */

@keyframes robotFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes robotBreath {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.03;
  }
}

@keyframes robotTilt {
  0%,
  100% {
    rotate: -2deg;
  }
  50% {
    rotate: 2deg;
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }

  50% {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

@keyframes blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }

  94%,
  97% {
    transform: scaleY(0.08);
  }
}

@keyframes antennaMove {
  0%,
  100% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }
}

@keyframes robotJump {
  0% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-22px);
  }

  100% {
    transform: translateY(0);
  }
}

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

  25% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }
}

@keyframes bubbleFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes caretBlink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* =========================================
   HOVER EFFECT
========================================= */

.mascot-robot:hover {
  filter: drop-shadow(0 18px 35px rgba(36, 93, 255, 0.35));
}

.mascot-bubble {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.mascot-robot:hover + .mascot-bubble,
.mascot-bubble:hover {
  transform: translateY(-3px);
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {
  .mascot-root {
    bottom: 15px;
  }

  .mascot-robot {
    width: 70px;
    height: 70px;
  }

  .mascot-bubble {
    width: 185px;

    padding: 10px 14px;

    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .mascot-root {
    bottom: 15px;

    gap: 8px;
  }

  .mascot-robot {
    width: 64px;
    height: 64px;
  }

  .mascot-bubble {
    width: 170px;

    font-size: 12px;

    padding: 8px 12px;
  }
}

/* =========================================
   LARGE SCREENS
========================================= */

@media (min-width: 1400px) {
  .mascot-root {
    bottom: 50px;
  }

  .mascot-robot {
    width: 90px;
    height: 90px;
  }

  .mascot-bubble {
    width: 250px;

    font-size: 15px;
  }
}

/* =========================================
 ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
  .mascot-robot,
  .mascot-bubble,
  .mascot-eye,
  .mascot-glow,
  .mascot-antenna {
    animation: none !important;

    transition: none !important;
  }
}
