/* Pre-compiled Tailwind CSS for Pltfrm.team Go/HTMX Site */
/* Design Tokens */
:root {
  --background: oklch(0.09 0 0);
  --foreground: oklch(0.95 0 0);
  --card: oklch(0.12 0 0);
  --card-foreground: oklch(0.95 0 0);
  --popover: oklch(0.12 0 0);
  --popover-foreground: oklch(0.95 0 0);
  --primary: oklch(0.65 0.18 280);
  --primary-foreground: oklch(0.95 0 0);
  --secondary: oklch(0.18 0 0);
  --secondary-foreground: oklch(0.95 0 0);
  --muted: oklch(0.18 0 0);
  --muted-foreground: oklch(0.55 0 0);
  --accent: oklch(0.18 0 0);
  --accent-foreground: oklch(0.95 0 0);
  --destructive: oklch(0.55 0.2 25);
  --destructive-foreground: oklch(0.95 0 0);
  --border: oklch(0.22 0 0);
  --input: oklch(0.22 0 0);
  --ring: oklch(0.65 0.18 280);
  --radius: 0.625rem;
  
  --font-sans: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Geist', system-ui, -apple-system, sans-serif;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--border);
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--font-sans);
  background-color: var(--background);
}

body {
  margin: 0;
  line-height: inherit;
  background-color: var(--background);
  color: var(--foreground);
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

/* Utility Classes */
.font-sans { font-family: var(--font-sans); }
.font-body { font-family: var(--font-body); }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Colors */
.bg-background { background-color: var(--background); }
.bg-foreground { background-color: var(--foreground); }
.bg-card { background-color: var(--card); }
.bg-card\/30 { background-color: oklch(0.12 0 0 / 0.3); }
.bg-card\/50 { background-color: oklch(0.12 0 0 / 0.5); }
.bg-primary { background-color: var(--primary); }
.bg-primary\/10 { background-color: oklch(0.65 0.18 280 / 0.1); }
.bg-primary\/20 { background-color: oklch(0.65 0.18 280 / 0.2); }
.bg-secondary { background-color: var(--secondary); }
.bg-secondary\/20 { background-color: oklch(0.18 0 0 / 0.2); }
.bg-secondary\/30 { background-color: oklch(0.18 0 0 / 0.3); }
.bg-secondary\/50 { background-color: oklch(0.18 0 0 / 0.5); }
.bg-red-500\/20 { background-color: rgb(239 68 68 / 0.2); }
.bg-red-950\/10 { background-color: rgb(69 10 10 / 0.1); }
.bg-green-500\/20 { background-color: rgb(34 197 94 / 0.2); }
.bg-green-950\/10 { background-color: rgb(5 46 22 / 0.1); }
.bg-yellow-500\/50 { background-color: rgb(234 179 8 / 0.5); }
.bg-red-500\/50 { background-color: rgb(239 68 68 / 0.5); }
.bg-green-500\/50 { background-color: rgb(34 197 94 / 0.5); }

.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-red-400 { color: rgb(248 113 113); }
.text-red-500\/10 { color: rgb(239 68 68 / 0.1); }
.text-green-400 { color: rgb(74 222 128); }
.text-green-500\/10 { color: rgb(34 197 94 / 0.1); }

.border-border { border-color: var(--border); }
.border-border\/30 { border-color: oklch(0.22 0 0 / 0.3); }
.border-border\/50 { border-color: oklch(0.22 0 0 / 0.5); }
.border-primary\/50 { border-color: oklch(0.65 0.18 280 / 0.5); }
.border-red-500\/30 { border-color: rgb(239 68 68 / 0.3); }
.border-green-500\/30 { border-color: rgb(34 197 94 / 0.3); }

/* Layout */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-full { top: 100%; }
.right-0 { right: 0; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }
.-right-4 { right: -1rem; }
.-top-4 { top: -1rem; }
.bottom-0 { bottom: 0; }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.space-y-3 > * + * { margin-top: 0.75rem; }

/* Sizing */
.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-full { height: 100%; }

.w-2 { width: 0.5rem; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-full { width: 100%; }

.min-h-screen { min-height: 100vh; }
.min-h-\[100svh\] { min-height: 100svh; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-4 { padding-top: 1rem; }
.pt-14 { padding-top: 3.5rem; }

.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.ml-2 { margin-left: 0.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }

.-translate-x-1\/2 { transform: translateX(-50%); }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-\[10px\] { font-size: 10px; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }

.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* Borders */
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* Effects */
.overflow-hidden { overflow: hidden; }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.opacity-0 { opacity: 0; }
.opacity-75 { opacity: 0.75; }

.shadow-glow {
  box-shadow: 0 0 30px -5px oklch(0.65 0.18 280 / 0.2);
}

/* Transitions */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* Hover States */
.hover\:text-foreground:hover { color: var(--foreground); }
.hover\:bg-primary\/90:hover { background-color: oklch(0.65 0.18 280 / 0.9); }
.hover\:bg-secondary\/50:hover { background-color: oklch(0.18 0 0 / 0.5); }
.hover\:border-primary\/50:hover { border-color: oklch(0.65 0.18 280 / 0.5); }
.hover\:shadow-glow:hover { box-shadow: 0 0 30px -5px oklch(0.65 0.18 280 / 0.2); }
.hover\:translate-x-1:hover { transform: translateX(0.25rem); }
.hover\:opacity-100:hover { opacity: 1; }

.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:border-primary\/50 { border-color: oklch(0.65 0.18 280 / 0.5); }
.group:hover .group-hover\:bg-primary\/10 { background-color: oklch(0.65 0.18 280 / 0.1); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }

/* Responsive */
@media (min-width: 640px) {
  .sm\:h-16 { height: 4rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
  .sm\:py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
  .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:pt-16 { padding-top: 4rem; }
  .sm\:mb-6 { margin-bottom: 1.5rem; }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:gap-8 { gap: 2rem; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-xs { font-size: 0.75rem; line-height: 1rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:w-auto { width: auto; }
  .sm\:p-3 { padding: 0.75rem; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:mb-8 { margin-bottom: 2rem; }
  .md\:mb-12 { margin-bottom: 3rem; }
  .md\:mb-16 { margin-bottom: 4rem; }
  .md\:gap-12 { gap: 3rem; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:justify-between { justify-content: space-between; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:items-center { align-items: center; }
  .lg\:text-left { text-align: left; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* Animations */
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out forwards; }
.animate-slideDown { animation: slideDown 0.2s ease-out forwards; }

/* Cluster Mesh Background */
.cluster-mesh-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, oklch(0.65 0.18 280 / 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, oklch(0.65 0.18 280 / 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, oklch(0.12 0 0) 0%, oklch(0.09 0 0) 100%);
  background-size: 100% 100%;
}

.cluster-mesh-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at center, oklch(0.65 0.18 280 / 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
}

.cluster-mesh-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, oklch(0.09 0 0) 100%);
}
