/* ==========================================================================
   Zanoni Technologies — style.css
   Complete styles for v3-minimal.html (no Tailwind CDN)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #fafaf9;
  color: #44403c;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
img { max-width: 100%; display: block; }
svg { display: inline-block; vertical-align: middle; }

/* ---------- Animations ---------- */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Font families ---------- */
.font-sans { font-family: 'Inter', system-ui, sans-serif; }
.font-serif { font-family: 'Playfair Display', Georgia, serif; }
.font-mono { font-family: ui-monospace, SFMono-Regular, 'Courier New', monospace; }

/* ---------- Stone color palette ---------- */
.bg-stone-50 { background-color: #fafaf9; }
.bg-stone-900 { background-color: #1c1917; }
.text-stone-50 { color: #fafaf9; }
.text-stone-300 { color: #d6d3d1; }
.text-stone-400 { color: #a8a29e; }
.text-stone-500 { color: #78716c; }
.text-stone-600 { color: #57534e; }
.text-stone-700 { color: #44403c; }
.text-stone-900 { color: #1c1917; }
.text-white { color: #fff; }
.border-stone-200 { border-color: #e7e5e4; }
.border-stone-900 { border-color: #1c1917; }

/* ---------- Typography ---------- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.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-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.1\] { line-height: 1.1; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.text-center { text-align: center; }

/* ---------- Layout ---------- */
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-20 { gap: 5rem; }
.space-y-0 > * + * { margin-top: 0; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Sizing ---------- */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.w-full { width: 100%; }
.min-h-screen { min-height: 100vh; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }

/* ---------- Spacing ---------- */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-20 { margin-bottom: 5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.pb-0\.5 { padding-bottom: 0.125rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pt-24 { padding-top: 6rem; }
.-mx-4 { margin-left: -1rem; margin-right: -1rem; }

/* ---------- Positioning ---------- */
.fixed { position: fixed; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }

/* ---------- Borders ---------- */
.border-t { border-top: 1px solid #e7e5e4; }
.border-b { border-bottom: 1px solid #e7e5e4; }
.border-y { border-top: 1px solid #e7e5e4; border-bottom: 1px solid #e7e5e4; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }

/* ---------- Effects ---------- */
.backdrop-blur-md { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bg-stone-50\/90 { background-color: rgba(250, 250, 249, 0.9); }
.transition-colors { transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease; }
.transition-transform { transition: transform 150ms ease; }

/* ---------- Hover ---------- */
.hover\:text-stone-900:hover { color: #1c1917; }
.hover\:bg-stone-800:hover { background-color: #292524; }
.hover\:border-stone-400:hover { border-color: #a8a29e; }
.hover\:bg-stone-100\/50:hover { background-color: rgba(245, 245, 244, 0.5); }

/* ---------- Group hover ---------- */
.group { position: relative; }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }

/* ---------- Responsive: md (768px+) ---------- */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:text-right { text-align: right; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .md\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}

/* ---------- Responsive: lg (1024px+) ---------- */
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:text-8xl { font-size: 6rem; line-height: 1; }
}
