/* products.css - page-specific styles for products.html */

/* ── Agent icon tiles ── */
.agent-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.05rem;
  height: 3.05rem;
  border-radius: 0.85rem;
  flex-shrink: 0;
}

.agent-icon .material-symbols-outlined {
  font-size: 1.42rem;
  line-height: 1;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  will-change: transform;
  animation: agentIconFloat 3.6s ease-in-out infinite;
}

.agent-icon--blue   { background: rgba(47,109,255,0.14);  color: #2F6DFF; box-shadow: inset 0 0 0 1px rgba(47,109,255,0.08); }
.agent-icon--cyan   { background: rgba(49,240,224,0.12);  color: #31F0E0; box-shadow: inset 0 0 0 1px rgba(49,240,224,0.08); }
.agent-icon--purple { background: rgba(186,125,255,0.16); color: #BA7DFF; box-shadow: inset 0 0 0 1px rgba(186,125,255,0.08); }
.agent-icon--teal   { background: rgba(44,207,199,0.14);  color: #2CCFC7; box-shadow: inset 0 0 0 1px rgba(44,207,199,0.08); }
.agent-icon--gold   { background: rgba(232,177,52,0.14);  color: #E8B134; box-shadow: inset 0 0 0 1px rgba(232,177,52,0.08); }
.agent-icon--mint   { background: rgba(65,230,173,0.14);  color: #41E6AD; box-shadow: inset 0 0 0 1px rgba(65,230,173,0.08); }

@keyframes agentIconFloat {
  0%   { transform: translateY(0)    scale(1);    }
  50%  { transform: translateY(-3px) scale(1.04); }
  100% { transform: translateY(0)    scale(1);    }
}

/* stagger float per card position */
#agents-grid > .group:nth-child(1) .agent-icon .material-symbols-outlined { animation-delay: 0s;    }
#agents-grid > .group:nth-child(2) .agent-icon .material-symbols-outlined { animation-delay: 0.30s; }
#agents-grid > .group:nth-child(3) .agent-icon .material-symbols-outlined { animation-delay: 0.60s; }
#agents-grid > .group:nth-child(4) .agent-icon .material-symbols-outlined { animation-delay: 0.90s; }
#agents-grid > .group:nth-child(5) .agent-icon .material-symbols-outlined { animation-delay: 1.20s; }
#agents-grid > .group:nth-child(6) .agent-icon .material-symbols-outlined { animation-delay: 1.50s; }

/* ── "What comes with every agent" indicator dot ── */
.agent-dot {
  transition: box-shadow 0.25s ease;
}
.group:hover .agent-dot {
  box-shadow: 0 0 20px rgba(46, 230, 214, 0.8) !important;
}

/* ── Deployment option cards ── */
.deploy-card {
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.deploy-card:hover {
  border-color: rgba(30, 95, 255, 0.50) !important;
  transform: translateY(-2px);
  background-color: rgba(30, 95, 255, 0.06);
}

/* ── CTA primary button glow ── */
.btn-cta-primary {
  background-color: #1E5FFF;
  box-shadow: 0 0 20px rgba(30, 95, 255, 0.35);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-cta-primary:hover {
  background-color: #4AA3FF;
  transform: scale(1.03);
  box-shadow: 0 0 28px rgba(74, 163, 255, 0.45);
}

/* ── CTA outline secondary button ── */
.btn-cta-outline {
  background-color: transparent;
  border: 1px solid #26304A;
  color: #4AA3FF;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.btn-cta-outline:hover {
  background-color: rgba(74, 163, 255, 0.06);
  border-color: rgba(74, 163, 255, 0.45);
}

/* ── Training checklist icon variant ── */
.check-icon {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  flex-shrink: 0;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .agent-icon .material-symbols-outlined {
    animation: none !important;
  }
}


@media (min-width: 1280px) {
  .aibox-image {
    background-image: url('../images/box/aibox-1920.webp');
  }
}

@media (min-width: 1920px) {
  .aibox-image {
    background-image: url('../images/box/aibox-2560.webp');
  }
}

/* AI-in-a-Box image container: 16:9 ratio on all screens, capped at 860px wide */
.aibox-container {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-top: min(56.25%, 484px); /* 16:9 ratio, capped at 484px height */
}

.aibox-container > * {
  position: absolute;
  inset: 0;
}

/* ── CTA scale button — matches platform.html closing CTA ── */
.btn-cta-scale {
  transition: transform 200ms ease;
}
.btn-cta-scale:hover {
  transform: scale(1.05);
}

/* ── Ops Audit button — matches platform.html ── */
.btn-ops-audit {
  background-color: #1E5FFF;
  transition: background-color 300ms ease, transform 300ms ease;
}
.btn-ops-audit:hover {
  background-color: #4AA3FF;
  transform: scale(1.03);
}

/* ── Products hero background (responsive) ── */
.products-hero {
  background-image: url('../images/hero/products-1280.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

@media (min-width: 1280px) {
  .products-hero {
    background-image: url('../images/hero/products-1920.webp');
  }
}

@media (min-width: 1920px) {
  .products-hero {
    background-image: url('../images/hero/products-2560.webp');
  }
}

/* ── Hero layout utilities (mirrors howtobuild.css) ── */
.hero-padding {
  padding: 140px 0 100px;
}

.hero-overlay-dark {
  background-color: #0A1224;
}

.hero-bottom-fade {
  background: linear-gradient(to bottom, transparent 0%, #0A1224 100%);
}
