@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@100;200;300;400;500;600;700&display=swap");
/* Agents Page Specific Styles */

/* Safari iOS Mobile Fixes */
@supports (-webkit-touch-callout: none) {
  .agents-container {
    min-height: -webkit-fill-available;
    height: -webkit-fill-available;
  }

  .agent-section {
    min-height: -webkit-fill-available;
  }
}


/* Reset and Base */
.agents-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  opacity: 0;
  text-wrap: balance;
  box-sizing: border-box;
}

.agent-section.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

.agent-section.active .agent-content {
  transform: translateY(0);
}

.agent-section.prev .agent-content {
  opacity: 0;
  transform: translateY(-100px);
}

.agent-section.next .agent-content {
  opacity: 0;
  transform: translateY(100px);
}

.agent-section.next .agent-content {
  transform: translateY(100px);
}

/* Background Gradients - Now shared across all agents */
@keyframes floatOrb {
  0% {
    transform: translate(0px, 0px) scale(1);
    opacity: 0.5;
  }
  25% {
    transform: translate(50px, -40px) scale(1.15);
    opacity: 0.8;
  }
  50% {
    transform: translate(-40px, 30px) scale(1.25);
    opacity: 1;
  }
  75% {
    transform: translate(30px, -25px) scale(1.15);
    opacity: 0.85;
  }
  100% {
    transform: translate(0px, 0px) scale(1);
    opacity: 0.5;
  }
}

.agent-background {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: visible;
}

/* TargetIQ - Cyan/Turquoise - Active when targetiq is active */
.agents-container:has(#targetiq.active) .gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.99;
  animation: floatOrb 2s ease-in-out infinite;
}

.agents-container:has(#targetiq.active) .orb-1 {
  width: 600px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(0, 229, 255, 0.8) 0%,
    rgba(0, 188, 212, 0.4) 100%
  );
  top: 200px;
  right: 10px;
  animation: floatOrb 6s ease-in-out infinite;
}

.agents-container:has(#targetiq.active) .orb-2 {
  width: 600px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(0, 229, 255, 0.8) 0%,
    rgba(0, 188, 212, 0.4) 100%
  );
  bottom: 200px;
  left: 20%;
  opacity: 0.6;
  animation-delay: 2s;
}

/* Innovia - Green - Active when innovia is active */
.agents-container:has(#innovia.active) .gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.9;
  animation: floatOrb 6s ease-in-out infinite;
}

.agents-container:has(#innovia.active) .orb-1 {
  width: 600px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(88, 223, 92, 0.8) 0%,
    rgba(56, 239, 65, 0.4) 100%
  );
  top: 100px;
  left: 0px;
  animation-delay: 0s;
}

.agents-container:has(#innovia.active) .orb-2 {
  width: 600px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(88, 223, 92, 0.8) 0%,
    rgba(56, 239, 65, 0.4) 100%
  );
  bottom: 250px;
  left: 20%;
  opacity: 60%;
  animation-delay: 2s;
}

/* CopyCraft - Purple/Pink - Active when copycraft is active */
.agents-container:has(#copycraft.active) .gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.9;
  animation: floatOrb 6s ease-in-out infinite;
}

.agents-container:has(#copycraft.active) .orb-1 {
  width: 600px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(203, 30, 233, 0.8) 0%,
    rgba(156, 39, 176, 0.4) 100%
  );
  top: 200px;
  right: 10px;
  animation-delay: 0s;
}

.agents-container:has(#copycraft.active) .orb-2 {
  width: 600px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(156, 39, 176, 0.6) 0%,
    rgba(141, 89, 231, 0.3) 100%
  );
  bottom: 200px;
  left: 20%;
  opacity: 60%;
  animation-delay: 2s;
}

/* RetailPilot - Pink/Red - Active when retailpilot is active */
.agents-container:has(#retailpilot.active) .gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.9;
  animation: floatOrb 6s ease-in-out infinite;
}

.agents-container:has(#retailpilot.active) .orb-1 {
  width: 600px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 23, 112, 0.8) 0%,
    rgba(233, 30, 99, 0.4) 100%
  );
  top: 100px;
  left: 0px;
  animation-delay: 0s;
}

.agents-container:has(#retailpilot.active) .orb-2 {
  width: 600px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 23, 112, 0.8) 0%,
    rgba(233, 30, 99, 0.4) 100%
  );
  bottom: 250px;
  left: 20%;
  opacity: 60%;
  animation-delay: 2s;
}

/* Hollow Circle Background */
.hollow-circle {
  position: absolute;
  width: 50%;
  min-width: 800px;
  max-width: 1000px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 120px solid;
  z-index: 1;
  /* transform: translate(-100px, 0px);  */
  transition: transform 0.6s ease, border-color 0.6s ease, opacity 0.6s ease;
}

/* Agent-specific hollow circle colors - using :has() selector */
@keyframes move {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }

  50% {
    opacity: 0.2;
  }

  100% {
    offset-distance: 100%;
    opacity: 1;
  }
}

.agents-container:has(#targetiq.active) .hollow-circle {
  border-color: rgb(56, 238, 245);
  offset-path: circle(25% at 0% 75%);
  animation: move 3s ease-in-out forwards;
}

.agents-container:has(#innovia.active) .hollow-circle {
  border-color: rgb(34, 246, 101);
  offset-path: circle(25% at 60% 75%);
  animation: move 3s ease-in-out forwards;
}

.agents-container:has(#copycraft.active) .hollow-circle {
  border-color: rgb(170, 1, 255);
  offset-path: circle(25% at 0% 75%);
  animation: move 3s ease-in-out forwards;
}

.agents-container:has(#retailpilot.active) .hollow-circle {
  border-color: rgb(250, 1, 117);
  offset-path: circle(25% at 60% 75%);
  animation: move 3s ease-in-out forwards;
}

img.agent-icon {
  width: 300px;
}

/* Agent Content */
.agent-content {
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: right;
  max-width: 1600px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: clamp(20px, 3vh, 40px) clamp(40px, 4vw, 80px);
  gap: clamp(60px, 8vw, 80px);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  max-height: calc(100vh - 200px);
  height:100%
}

/* Alternate layout for 1st and 3rd agents: text right, visual left */
#targetiq .agent-content,
#copycraft .agent-content {
  flex-direction: row-reverse;
}

.agent-text {
  flex: 0 1 45%;
  max-width: 600px;
  min-width: 300px;
  color: white;
}

#innovia .agent-text,
#retailpilot .agent-text {
  text-align: left;
}

#targetiq .agent-text,
#targetiq .agent-visual p {
  color: rgb(52, 171, 245);
}

#targetiq .agent-visual {
  background-color: rgba(147, 227, 247, 0.5);
}

#targetiq .product-mockups {
  background-color: rgba(177, 220, 244, 0.6);
}

#innovia .agent-text,
#innovia .agent-visual p {
  color: rgb(11, 169, 53);
}

#innovia .agent-visual {
  background-color: rgba(189, 253, 209, 0.5);
}

#innovia .product-mockups {
  background-color: rgba(130, 233, 157, 0.6);
}

#copycraft .agent-text,
#copycraft .agent-visual p {
  color: rgb(150, 10, 144);
}

#copycraft .agent-visual {
  background-color: rgba(241, 216, 254, 0.5);
}

#copycraft .product-mockups {
  background-color: rgba(226, 188, 255, 0.6);
}

#retailpilot .agent-text,
#retailpilot .agent-visual p {
  color: rgb(252, 52, 118);
}

#retailpilot .agent-visual {
  background-color: rgba(254, 217, 235, 0.5);
}

#retailpilot .product-mockups {
  background-color: rgba(249, 181, 207, 0.6);
}

.agent-title {
  font-size: 4rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.1;
}

.agent-title sup {
  font-size: 1.5rem;
  vertical-align: super;
  opacity: 0.8;
}

.agent-subtitle {
  font-size: 3rem;
  font-weight: 800;
  font-family: "Manrope", sans-serif;
  margin: 0 0 24px 0;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0.95;
}

#targetiq .agent-subtitle {
  color: #05576d;
}
#innovia .agent-subtitle {
  color: #076929;
}
#copycraft .agent-subtitle {
  color: #691c6d;
}
#retailpilot .agent-subtitle {
  color: #81081a;
}

.agent-description {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto 20px auto;
  opacity: 0.9;
  max-width: 600px;
  color: black;
  font-size: clamp(14px, 2.5vw, 24px);
  width: 100%;
}

.agent-features {
  margin: 32px 0;
}

.feature-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.breadcrumb-item {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.breadcrumb-item.active {
  background: rgba(255, 255, 255, 0.25);
  font-weight: 600;
}

.breadcrumb-separator {
  font-size: 16px;
  opacity: 0.6;
}

.agent-cta {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid;
  color: #05576d;
  border-radius: clamp(6px, 1vw, 8px);
  font-size: clamp(14px, 2vw, 18px);
  text-align: center;
  white-space: nowrap;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  margin: clamp(10px, 4vw, 12px) 0;
  height: clamp(40px, 6vh, 48px);
  width: clamp(140px, 20vw, 188px);
  box-sizing: border-box;
}

#targetiq .agent-cta {
  border-color: #38eef5;
}
#innovia .agent-cta {
  border-color: #0ba935;
}
#copycraft .agent-cta {
  border-color: #960a90;
}
#retailpilot .agent-cta {
  border-color: #fc3476;
}

.agent-cta:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.agent-tagline {
  font-size: 14px;
  opacity: 1;
  margin: 32px 0 0 0;
  font-weight: 400;
}

/* Product Mockups */
.agent-visual {
  flex: 0 1 50%;
  max-width: 800px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: 45vh;
  height: 45dvh; /* Dynamic viewport height for better Safari support */
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.product-mockups {
  position: relative;
  width: 100%;
  flex-grow: 1;
  border-radius: 30px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-description {
  line-height: 60px;
  text-align: center;
  justify-content: center;
  font-size: 18px;
}

.product-description p {
  font-weight: 500;
  opacity: 1;
}

.agent-section.active .product-mockups {
  overflow: hidden;
}

.agent-section.active .mobile-device {
  opacity: 1;
}

.agent-section.active .device-1 {
  transform: rotate(-8deg) translateY(0);
}

.agent-section.active .device-2 {
  transform: translateX(-50%) translateY(0);
}

.agent-section.active .device-3 {
  transform: rotate(8deg) translateY(0);
}

.mobile-device:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.mobile-device {
  position: absolute;
  width: 200px;
  height: 290px;
  background: #1a1a1a;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  /* Safari compatibility */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

.device-1 {
  top: 40px;
  left: 11%;
  z-index: 3;
}

.device-2 {
  top: 35px;
  left: 52%;
  transform: translateX(-50%) translateY(80px);
  z-index: 3;
}

.device-3 {
  top: 40px;
  right: 8%;
  z-index: 3;
}

.device-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.status-bar {
  display: flex;
  align-items: center;
  gap: 4px;
}

.signal-bars,
.battery {
  width: 16px;
  height: 8px;
  background: white;
  border-radius: 2px;
  opacity: 0.8;
}

.app-content {
  padding: 16px;
  height: calc(100% - 40px);
  color: white;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.back-arrow {
  font-size: 18px;
  cursor: pointer;
}

.header-title {
  font-size: 14px;
  font-weight: 600;
}

.progress-ring {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.voice-interface {
  text-align: center;
  margin: 40px 0;
}

.voice-wave {
  width: 100px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  margin: 0 auto 20px;
  position: relative;
  overflow: hidden;
}

.voice-wave::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, white, transparent);
  transform: translateY(-50%);
  animation: voice-scan 2s infinite;
}

@keyframes voice-scan {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.voice-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.voice-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.voice-btn.active {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.greeting {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  border-radius: 50%;
}

.greeting-text h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
}

.greeting-text p {
  margin: 0 0 8px 0;
  font-size: 12px;
  opacity: 0.8;
}

.time-badge {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 12px;
}

.voice-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.card-icon {
  font-size: 20px;
}

.card-content h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 600;
}

.card-content p {
  margin: 0;
  font-size: 12px;
  opacity: 0.8;
}

.record-btn {
  width: 24px;
  height: 24px;
  background: #ff4757;
  border-radius: 50%;
  margin-left: auto;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.status-indicator {
  font-size: 10px;
  background: #4caf50;
  padding: 4px 8px;
  border-radius: 12px;
}

.voice-visualizer {
  text-align: center;
  margin: 40px 0;
}

.audio-wave {
  width: 120px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.audio-wave::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: audio-scan 3s infinite;
}

@keyframes audio-scan {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.control-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.voice-resume,
.playlist-info {
  text-align: center;
  margin: 20px 0;
}

.voice-resume span,
.playlist-info span {
  font-size: 12px;
  opacity: 0.8;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
}

/* Agent Navigation Bar */
.agent-navigation {
  position: fixed;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 16px 16px 0 0;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.agent-navigation::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, #00cfff, #ff00d4, #00cfff);
  background-size: 300% 100%;
  background-position: 0% 50%;
  z-index: -1;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.agent-navigation .nav-container {
  position: relative;
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0;
}

.nav-items {
  display: flex;
  gap: 4px;
  align-items: center;
  color: rgba(90, 90, 90, 0.6);
  line-height: 16px;
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  color: rgba(90, 90, 90, 0.8);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-width: 120px;
  text-align: center;
  background: transparent;
}

.nav-item:hover {
  color: white;
  /* background: rgba(255, 255, 255, 0.1); */
  transform: translateY(-2px);
}

.nav-items .nav-item:nth-child(1).active,
.nav-items .nav-item:nth-child(1):hover {
  color: rgb(5, 87, 109);
}

.nav-items .nav-item:nth-child(3).active,
.nav-items .nav-item:nth-child(3):hover {
  color: rgb(3, 128, 122);
}

.nav-items .nav-item:nth-child(5).active,
.nav-items .nav-item:nth-child(5):hover {
  color: rgb(121, 18, 172);
}

.nav-items .nav-item:nth-child(7).active,
.nav-items .nav-item:nth-child(7):hover {
  color: rgb(194, 12, 97);
}

.nav-label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
  display: block;
}

.nav-divider {
  font-size: 16px;
  font-weight: 300;
  display: flex;
  align-items: center;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  margin: 0 8px;
}

.nav-indicator {
  position: absolute;
  bottom: 5px;
  height: 3px;
  width: 150px;
  background: rgba(90, 90, 90, 0.3);
  border-radius: 2px 2px 0 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(0%);
}

/* Responsive Design */
@media (max-width: 1900px) and (min-width: 1400px) {
  img.agent-icon {
    margin-top: 80px;
  }

  .agent-subtitle {
    font-size: 2.8rem;
    max-width: 800px;
  }

  .agent-visual {
    height: auto;
    min-height: 400px;
    max-height: 35vh;
    max-height: 35dvh;

  }
}

@media (max-width: 1399px) and (min-width: 1251px) {
  img.agent-icon {
    width: 260px;
    height: 260px;
    margin-top: 80px;
  }

  .agent-subtitle {
    font-size: 2.4rem;
    max-width: 600px;
  }

  .agent-visual {
    height: auto;
    min-height: 400px;
    max-height: 35vh;
    max-height: 35dvh;
  }
  .product-mockups{
    padding: 20px;
  }
  .product-description {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 20px;
    white-space: nowrap;
  }

}

@media (max-width: 1250px) and (min-width: 769px) {
  img.agent-icon {
    width: 230px;
    height: 230px;
    margin-top: 80px;
  }
  .agent-content{
    gap: clamp(20px, 2vw, 60px);
  }

  .agent-subtitle {
    font-size: 2.2rem;
    max-width: 500px;
  }



  .product-description {
    line-height: 1.45;
    padding: 6px;
  }

  .agent-description{
    font-size: clamp(10px, 2.5vw, 20px);
  }
}

@media (max-width: 768px) {
  .agents-container {
    max-width: 100%;
    height: 100dvh;
  }

  img.agent-icon {
    margin-top: 20px;
    width: 25vw;
  }
  
  .agent-content,
  #targetiq .agent-content,
  #copycraft .agent-content {
    height: calc(100vh - 150px);
    flex-direction: column;
    padding: 0 20px;
    text-align: center;
    gap: 10px;
  }

  /* Hide circle backgrounds on mobile */
  .hollow-circle {
    display: none;
  }
  .agent-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .agent-description {
    text-align: center;
    font-size: 1.2rem;
  }
  .agent-title {
    font-size: 2.5rem;
  }

  .agent-subtitle {
    font-size: 1.5rem;
  }

  .product-mockups {
    position: relative;
  }

  .agent-visual {
    height: auto;
    min-height: 250px;
    max-height: 35vh;
    max-height: 35dvh;
  }

  .agent-cta {
    height: clamp(38px, 5vh, 44px);
    width: clamp(150px, 18vw, 160px);
    text-align: center;
    margin: 10px 0 10px 0;
  }

  .product-mockups {
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .product-description {
    line-height: 1.3;
    padding: 10px;
    font-size: 14px;
  }

  .product-description p {
    margin: 0;
  }

  .device-1 {
    top: 20px;
    left: 11%;
    z-index: 3;
  }

  .device-2 {
    top: 15px;
    left: 52%;
    transform: translateX(-50%) translateY(80px);
    z-index: 3;
  }

  .device-3 {
    top: 20px;
    right: 8%;
    z-index: 3;
  }
  .agent-navigation {
    padding: 6px;
  }

  .nav-item {
    padding: 10px 12px;
    min-width: 100px;
  }

  .nav-label {
    font-size: 12px;
  }

  .nav-items {
    gap: 2px;
  }

  .agent-navigation .nav-container {
    height: 50px;
  }
}



/* Extra small screens */
@media (max-width: 440px) {
    img.agent-icon {
    margin-top: 10px;
    width: 25vw;
  }
  .agents-container {
    max-width: 100%;
    height: 100dvh;
  }

  .agent-content,
  .agent-section.active .agent-content {
    height: calc(100dvh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: clamp(8px, 2vh, 16px);
  }

  .agent-title {
    font-size: 2rem;
    margin: 4px 0;
  }

  .agent-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: "Manrope", sans-serif;
    margin: 0 0 8px 0;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0.9;
  }

  .agent-description {
    font-size: 0.9rem;
    max-width: 100%;
    margin: 0 auto 10px auto;
  }

  #retailpilot .agent-description {
    max-width: 100%;
  }

  .agent-cta {
    font-size: clamp(11px, 3.5vw, 14px);
    height: clamp(32px, 4vh, 40px);
    width: clamp(140px, 16vw, 160px);
    margin: 10px 0 10px 0;
  }

  .agent-visual {
    overflow: visible;
    transform: translateY(-20px) scale(0.9);
    flex:0 1 50%;
  }

  .agent-section.active .device-1 {
    transform: rotate(-8deg) translateY(-30px) scale(0.75);
  }

  .agent-section.active .device-2 {
    transform: translateX(-50%) translateY(-25px) scale(0.75);
  }

  .agent-section.active .device-3 {
    transform: rotate(8deg) translateY(-30px) scale(0.75);
  }
  .agent-navigation {
    left: 10px;
    right: 10px;
    transform: none;
    width: auto;
    padding: 4px;
  }

  .nav-item {
    padding: 8px 8px;
    min-width: 80px;
  }
  .nav-items {
    align-self: center;
    gap: 1px;
  }

  .nav-icon {
    font-size: 16px;
    margin-bottom: 2px;
  }

  .nav-label {
    font-size: 11px;
  }

  .nav-divider {
    font-size: 12px;
    margin: 0 4px;
  }

  .nav-description {
    font-size: 9px;
  }

  .nav-indicator {
    height: 2px;
  }
}

@media (max-width: 390px) {
  img.agent-icon {
    width: 22vw;
    margin-top: 8px;
  }
  .agents-container {
    height: 100dvh;
  }

  .agent-content,
  .agent-section.active .agent-content {
    height: calc(100dvh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: clamp(8px, 2vh, 16px);
  }

  .agent-title {
    font-size: 1.5rem;
    margin: 0 0 4px 0;
  }
  .agent-subtitle {
    font-size: 1.2rem;
    margin: 0 0 4px 0;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0.9;
  }
  .agent-description,
  #retailpilot .agent-description {
    max-width: 100%;
  }
  .agent-description {
    max-width: 100%;
    font-size: 0.9rem;

  }

  .product-mockups{
    width: 100%;
  }

  .agent-cta {
    margin: 6px 0 6px 0;
    font-size: clamp(10px, 4vw, 12px);
    height: clamp(32px, 3vh, 38px);
    width: clamp(120px, 30vw, 140px);
    position: relative;
  }

  .agent-visual {
    height: 20dvh;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 300px;
    margin: 0 20px;
    transform: translateY(-8px);
  }

  .agent-navigation .nav-container {
    justify-content: stretch;
    width: 100%;
  }

  .agent-navigation {
    left: 2px;
    right: 2px;
    transform: none;
    width: auto;
    padding: 4px;
    box-sizing: border-box;
  }

  .nav-item {
    padding: 2px 2px;
    align-items: center;
    min-width: 75px;
  }

  .nav-items {
    gap: 1px;
    justify-content: center;
  }
}

/* Smooth scrolling with damping effect */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}
