/* Daisy marketing site — custom styles layered over Tailwind CDN.
   Keep this file small: anything that can be a Tailwind utility class
   lives in the HTML, not here. */

:root {
  --d-primary:        #4f46e5;   /* indigo-600 */
  --d-primary-dark:   #4338ca;   /* indigo-700 */
  --d-accent:         #f59e0b;   /* amber-500 */
  --d-text:           #0f172a;   /* slate-900 */
  --d-text-muted:     #475569;   /* slate-600 */
  --d-text-soft:      #94a3b8;   /* slate-400 */
  --d-bg:             #ffffff;
  --d-bg-alt:         #f8fafc;   /* slate-50 */
  --d-border:         #e2e8f0;   /* slate-200 */
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--d-text);
  background: var(--d-bg);
}

/* Soft gradient hero — purple → indigo → slate so it reads as
   "serious tech" rather than "consumer app". */
.hero-bg {
  background:
    radial-gradient(60% 60% at 70% 30%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(80% 80% at 20% 70%, rgba(79, 70, 229, 0.14), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* Pretty grid pattern behind the hero to add texture without
   feeling busy. SVG inline so we don't add an asset request. */
.hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
  pointer-events: none;
}

/* Animate the AI-agent badge gradient gently — drawing the eye on the
   highest-value feature without being aggressive. */
.ai-pulse {
  background: linear-gradient(120deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  background-size: 200% 200%;
  animation: shimmer 6s ease infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Code block — keep contrast high but not stark black. */
.code-block {
  background: #0b1024;
  color: #e2e8f0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  border-radius: 12px;
  padding: 20px 22px;
  overflow-x: auto;
  border: 1px solid #1e293b;
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.30);
}
.code-block .tok-key  { color: #93c5fd; }
.code-block .tok-str  { color: #fcd34d; }
.code-block .tok-com  { color: #64748b; font-style: italic; }
.code-block .tok-pun  { color: #94a3b8; }
.code-block .tok-num  { color: #fbbf24; }
.code-block .tok-tpl  { color: #c4b5fd; }

/* Connector logos: subtle hover lift so the cloud feels alive. */
.logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--d-bg);
  border: 1px solid var(--d-border);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.logo-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.12);
}
.logo-tile img { width: 32px; height: 32px; }

/* Feature card border accent on hover */
.feature-card {
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.feature-card:hover {
  border-color: rgba(79, 70, 229, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(15, 23, 42, 0.10);
}

/* Comparison table — tighten Tailwind defaults so it reads cleanly */
.cmp-table th, .cmp-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--d-border);
  vertical-align: top;
}
.cmp-table th { font-weight: 600; color: var(--d-text); font-size: 13px; }
.cmp-table td { font-size: 13.5px; color: var(--d-text-muted); }
.cmp-table tr:last-child td { border-bottom: 0; }
.cmp-yes { color: #16a34a; font-weight: 600; }
.cmp-no  { color: #94a3b8; }
.cmp-meh { color: #d97706; }

/* Tighter prose for use-case cards */
.usecase-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--d-text-muted);
}

/* Pricing card — primary tier gets the accent border */
.price-card.featured {
  border-color: var(--d-primary);
  box-shadow: 0 30px 60px -30px rgba(79, 70, 229, 0.45);
  position: relative;
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--d-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Section heading helper */
.eyebrow {
  display: inline-block;
  color: var(--d-primary);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Buttons — Tailwind handles most cases, but the primary needs a
   gradient + bigger shadow to feel like a "product" CTA. */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  box-shadow: 0 12px 24px -10px rgba(79, 70, 229, 0.6);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px -12px rgba(79, 70, 229, 0.65);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid var(--d-border);
  color: var(--d-text);
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  background: #fff;
  transition: border-color 140ms ease;
}
.btn-ghost:hover { border-color: var(--d-text-soft); }

/* Tiny mark for kbd-style hints */
.kbd {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  background: #f1f5f9;
  border: 1px solid var(--d-border);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11.5px;
}
