@import url("./styles.css");

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root,
html[data-canto-theme="light"] {
  --brand-blue: #3d4ff5;
  --brand-periwinkle: #97a9ff;
  --dash-bg: #ffffff;
  --dash-sub: #f8f9fc;
  --dash-border: #e5e7eb;
  --dash-muted: #6b7280;
}

html[data-canto-theme="dark"] {
  --brand-blue: #4f60ff;
  --brand-periwinkle: #8896ff;
  --dash-bg: #141419;
  --dash-sub: #1c1c23;
  --dash-border: #2a2a35;
  --dash-muted: #a1a1aa;
}

#hero {
  scroll-margin-top: 112px;
}

.brand-logo-img {
  border-radius: 6px;
}

.btn-primary {
  background:
    radial-gradient(65% 120% at 50% 10%, rgba(216, 180, 254, 0.48) 0%, rgba(216, 180, 254, 0) 70%),
    linear-gradient(135deg, #5b21b6 0%, #7c3aed 52%, #5b21b6 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.42),
    0 6px 18px rgba(109, 40, 217, 0.28);
}

.btn-primary:hover {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    0 10px 26px rgba(109, 40, 217, 0.36);
}

.picked-badge {
  color: #6d28d9;
}

html[data-canto-theme="dark"] .product-tab.is-active {
  background: #6d28d9;
  color: #ffffff;
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.32);
}

/* Crisp 1:1 Canto-proportion panel UI cards edge-to-edge */
.ai-bento-media {
  background: #ffffff;
  border-bottom: 1px solid var(--border-hairline);
  padding: 0;
}

html[data-canto-theme="dark"] .ai-bento-media,
html[data-canto-theme="dark"] .hero-ai-frame {
  filter: brightness(0.96) contrast(1.03);
}

.ai-bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-card:hover .ai-bento-media img {
  transform: scale(1.025);
}

/* Product Showcase Full Real Panel Window Stage */
.product-showcase-visual {
  padding: 24px;
}

.tab-stage-host {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

.tab-img-card {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 22px 54px rgba(109, 40, 217, 0.16);
}

.mac-window {
  width: 100%;
  border-radius: 16px;
  background: var(--dash-bg);
  border: 1px solid var(--dash-border);
  box-shadow: 0 22px 54px rgba(109, 40, 217, 0.14);
  overflow: hidden;
  font-family: "Inter", sans-serif;
  color: var(--text-primary);
}

.mac-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--dash-sub);
  border-bottom: 1px solid var(--dash-border);
}

.mac-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mac-pill-green {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.14);
  color: #16a34a;
}

.mac-pill-violet {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.14);
  color: var(--brand-blue);
}

.mac-pill-orange {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(234, 88, 12, 0.14);
  color: #ea580c;
}

.mac-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mac-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--dash-sub);
  border: 1px solid var(--dash-border);
  font-size: 12.5px;
}

.mac-chat-bubble {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--dash-sub);
  border: 1px solid var(--dash-border);
  font-size: 12.5px;
  line-height: 1.55;
}

.mac-hi {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(22, 163, 74, 0.16);
  color: #16a34a;
  font-weight: 600;
}

.mac-matrix-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.mac-matrix-grid th {
  text-align: left;
  padding: 8px;
  color: var(--dash-muted);
  border-bottom: 1px solid var(--dash-border);
  font-weight: 500;
}

.mac-matrix-grid td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--dash-border);
  font-variant-numeric: tabular-nums;
}

.mac-matrix-you {
  background: rgba(22, 163, 74, 0.08);
  font-weight: 600;
}

.mac-report-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mac-ring-card {
  padding: 12px 8px;
  border-radius: 10px;
  background: var(--dash-sub);
  border: 1px solid var(--dash-border);
  text-align: center;
}

.mac-ring-card strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
}

.mac-ring-card small {
  font-size: 11px;
  color: var(--dash-muted);
}

.footer-watermark {
  font-size: clamp(64px, 14vw, 198px);
}

.logos-track {
  animation-duration: 80s;
}

.logos-group {
  gap: 44px;
  padding-right: 44px;
}

.partner-logo {
  width: 112px;
  height: 42px;
  object-fit: contain;
  display: block;
}

@media (max-width: 809px) {
  .logos-track {
    animation-duration: 60s;
  }

  .logos-group {
    gap: 28px;
    padding-right: 28px;
  }

  .partner-logo {
    width: 96px;
    height: 36px;
  }
}
