/*! tailwindcss v3.4.0 | MIT License | https://tailwindcss.com */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid #e5e7eb;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #FAF9F6;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  line-height: inherit;
  background-color: #FAF9F6;
  color: #0F172A;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video,
iframe,
object,
embed {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

ul {
  list-style: none;
}

pre {
  overflow-x: auto;
}

input {
  font-family: inherit;
}

/* ===== CUSTOM PROPERTIES (Theme) ===== */
:root {
  --ef-accent: #10B981;
  --ef-cyan: #06B6D4;
  --ef-bg: #FAF9F6;
  --ef-surface: #FFFFFF;
  --ef-border: #EAE5D9;
  --ef-text-main: #0F172A;
  --ef-text-muted: #475569;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.max-w-\[1400px\] { max-width: 1400px; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== DISPLAY ===== */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.contents { display: contents; }

/* ===== POSITION ===== */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-1 { top: 0.25rem; }
.top-4 { top: 1rem; }
.top-8 { top: 2rem; }
.top-\[72px\] { top: 72px; }
.-top-1 { top: -0.25rem; }
.-top-4 { top: -1rem; }
.-top-6 { top: -1.5rem; }

.right-0 { right: 0; }
.right-6 { right: 1.5rem; }
.-right-1 { right: -0.25rem; }

.bottom-4 { bottom: 1rem; }
.bottom-6 { bottom: 1.5rem; }

.left-0 { left: 0; }
.left-1 { left: 0.25rem; }
.left-1\/2 { left: 50%; }
.left-4 { left: 1rem; }

/* Z-Index */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-\[90\] { z-index: 90; }
.z-\[99\] { z-index: 99; }
.z-\[100\] { z-index: 100; }
.z-\[200\] { z-index: 200; }
.z-\[210\] { z-index: 210; }

/* ===== FLEXBOX ===== */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }
.flex-1 { flex: 1 1 0%; }

/* ===== GRID ===== */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-12 { grid-column: span 12 / span 12; }

/* ===== GAP ===== */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* ===== SPACE (margins entre filhos) ===== */
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.space-y-12 > * + * { margin-top: 3rem; }

/* ===== DIVIDE ===== */
.divide-y > * + * { border-top-width: 1px; }
.divide-ef-border > * + * { border-color: #EAE5D9; }

/* ===== PADDING ===== */
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.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; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.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-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-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-20 { padding-top: 5rem; }
.pt-40 { padding-top: 10rem; }

.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-32 { padding-bottom: 8rem; }

.pl-6 { padding-left: 1.5rem; }
.pl-8 { padding-left: 2rem; }

/* ===== MARGIN ===== */
.m-0 { margin: 0; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.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-16 { margin-bottom: 4rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }

.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }

/* ===== WIDTH / HEIGHT ===== */
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-full { width: 100%; }

.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }

.min-h-\[calc\(100vh-72px\)\] { min-height: calc(100vh - 72px); }

/* ===== BORDERS ===== */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }

.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-l { border-left-width: 1px; }
.border-l-2 { border-left-width: 2px; }
.border-l-4 { border-left-width: 4px; }

.border-ef-border { border-color: #EAE5D9; }
.border-ef-accent { border-color: #10B981; }
.border-ef-cyan { border-color: #06B6D4; }
.border-white { border-color: #ffffff; }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-white\/20 { border-color: rgba(255,255,255,0.2); }
.border-white\/30 { border-color: rgba(255,255,255,0.3); }
.border-slate-700 { border-color: #334155; }
.border-slate-800 { border-color: #1e293b; }
.border-emerald-100 { border-color: #d1fae5; }
.border-blue-100 { border-color: #dbeafe; }
.border-purple-100 { border-color: #f3e8ff; }
.border-orange-100 { border-color: #ffedd5; }
.border-red-100 { border-color: #fee2e2; }
.border-red-500 { border-color: #ef4444; }
.border-red-500\/30 { border-color: rgba(239,68,68,0.3); }
.border-yellow-100 { border-color: #fef9c3; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-600 { border-color: #4b5563; }
.border-indigo-100 { border-color: #e0e7ff; }
.border-ef-cyan\/30 { border-color: rgba(6,182,212,0.3); }

/* ===== BORDER RADIUS ===== */
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-\[2rem\] { border-radius: 2rem; }

/* ===== COLORS - BACKGROUND ===== */
.bg-ef-bg { background-color: #FAF9F6; }
.bg-ef-surface { background-color: #FFFFFF; }
.bg-ef-accent { background-color: #10B981; }
.bg-ef-accent\/90 { background-color: rgba(16,185,129,0.9); }
.bg-ef-text-main { background-color: #0F172A; }
.bg-ef-cyan\/20 { background-color: rgba(6,182,212,0.2); }

.bg-white { background-color: #ffffff; }
.bg-white\/5 { background-color: rgba(255,255,255,0.05); }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-white\/95 { background-color: rgba(255,255,255,0.95); }

.bg-black\/50 { background-color: rgba(0,0,0,0.5); }

.bg-\[\#0F172A\] { background-color: #0F172A; }
.bg-\[\#0F172A\]\/90 { background-color: rgba(15,23,42,0.9); }
.bg-\[\#0F172A\]\/95 { background-color: rgba(15,23,42,0.95); }
.bg-\[\#1E293B\] { background-color: #1E293B; }
.bg-\[\#2A5F4B\] { background-color: #2A5F4B; }
.bg-\[\#1A3F31\] { background-color: #1A3F31; }
.bg-\[\#4A3B32\] { background-color: #4A3B32; }

.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-400 { background-color: #34d399; }
.bg-emerald-500 { background-color: #10b981; }
.bg-emerald-600 { background-color: #059669; }
.bg-emerald-700 { background-color: #047857; }

.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }

.bg-purple-50 { background-color: #faf5ff; }
.bg-purple-100 { background-color: #f3e8ff; }

.bg-orange-50 { background-color: #fff7ed; }
.bg-orange-100 { background-color: #ffedd5; }

.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-500 { background-color: #ef4444; }
.bg-red-600 { background-color: #dc2626; }

.bg-yellow-50 { background-color: #fefce8; }
.bg-yellow-100 { background-color: #fef9c3; }
.bg-yellow-500 { background-color: #eab308; }

.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }

.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }

.bg-indigo-50 { background-color: #eef2ff; }
.bg-indigo-100 { background-color: #e0e7ff; }

.bg-green-500 { background-color: #22c55e; }

.bg-cyan-400 { background-color: #22d3ee; }

/* ===== COLORS - TEXT ===== */
.text-ef-text-main { color: #0F172A; }
.text-ef-text-muted { color: #475569; }
.text-ef-accent { color: #10B981; }
.text-ef-cyan { color: #06B6D4; }

.text-white { color: #ffffff; }

.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }

.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }

.text-emerald-400 { color: #34d399; }
.text-emerald-700 { color: #047857; }

.text-blue-700 { color: #1d4ed8; }

.text-purple-500 { color: #a855f7; }
.text-purple-700 { color: #7e22ce; }

.text-orange-500 { color: #f97316; }

.text-red-400 { color: #f87171; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-red-800 { color: #991b1b; }

.text-yellow-400 { color: #facc15; }
.text-yellow-500 { color: #eab308; }
.text-yellow-600 { color: #ca8a04; }

.text-indigo-500 { color: #6366f1; }

.text-cyan-400 { color: #22d3ee; }

/* ===== GRADIENTS ===== */
.bg-gradient-to-bl { background-image: linear-gradient(to bottom left, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }

.from-\[\#0F172A\] { --tw-gradient-from: #0F172A; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(15, 23, 42, 0)); }
.from-\[\#2A5F4B\] { --tw-gradient-from: #2A5F4B; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(42, 95, 75, 0)); }
.from-emerald-400 { --tw-gradient-from: #34d399; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(52, 211, 153, 0)); }
.from-emerald-600 { --tw-gradient-from: #059669; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(5, 150, 105, 0)); }
.from-gray-100 { --tw-gradient-from: #f3f4f6; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(243, 244, 246, 0)); }

.via-emerald-500 { --tw-gradient-stops: var(--tw-gradient-from), #10b981, var(--tw-gradient-to, rgba(16, 185, 129, 0)); }

.to-\[\#1E293B\] { --tw-gradient-to: #1E293B; }
.to-\[\#1A3F31\] { --tw-gradient-to: #1A3F31; }
.to-cyan-500 { --tw-gradient-to: #06b6d4; }
.to-transparent { --tw-gradient-to: transparent; }

/* Text gradient */
.text-gradient {
  background: linear-gradient(to right, #10B981, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

/* ===== TYPOGRAPHY ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[12px\] { font-size: 12px; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-7xl { font-size: 4.5rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.15em\] { letter-spacing: 0.15em; }

.font-sans { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
.font-display { font-family: 'Space Grotesk', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* ===== SHADOWS ===== */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.05); }

.shadow-soft { box-shadow: 0 20px 80px rgba(0,0,0,0.05); }
.shadow-floating { box-shadow: 0 30px 100px rgba(16, 185, 129, 0.15); }
.shadow-emerald-500\/30 { box-shadow: 0 10px 15px -3px rgba(16,185,129,0.3); }
.shadow-emerald-500\/50 { box-shadow: 0 10px 15px -3px rgba(16,185,129,0.5); }

/* ===== OPACITY ===== */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

/* ===== FILTERS ===== */
.grayscale { filter: grayscale(100%); }
.backdrop-blur-sm { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.backdrop-blur-md { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.backdrop-blur-lg { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.backdrop-blur-xl { -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }

/* ===== 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, text-decoration-color, fill, stroke; 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; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }

/* ===== TRANSFORMS ===== */
.transform { transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1); }

.translate-y-0 { transform: translateY(0); }
.-translate-y-1 { transform: translateY(-0.25rem); }
.-translate-y-4 { transform: translateY(-1rem); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.translate-x-0 { transform: translateX(0); }
.translate-x-\[32px\] { transform: translateX(32px); }
.translate-y-\[-100\%\] { transform: translateY(-100%); }

.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-110 { transform: scale(1.1); }

/* ===== HOVER / GROUP HOVER ===== */
.hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.1); }
.hover\:bg-emerald-400:hover { background-color: #34d399; }
.hover\:bg-emerald-600:hover { background-color: #059669; }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.hover\:bg-slate-800:hover { background-color: #1e293b; }
.hover\:bg-red-700:hover { background-color: #b91c1c; }

.hover\:text-ef-accent:hover { color: #10B981; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-gray-400:hover { color: #9ca3af; }

.hover\:grayscale-0:hover { filter: grayscale(0); }

.hover\:shadow-soft:hover { box-shadow: 0 20px 80px rgba(0,0,0,0.05); }
.hover\:shadow-floating:hover { box-shadow: 0 30px 100px rgba(16, 185, 129, 0.15); }
.hover\:shadow-\[0_20px_50px_rgba\(5\,150\,105\,0\.2\)\]:hover { box-shadow: 0 20px 50px rgba(5,150,105,0.2); }

.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:scale-105:hover { transform: scale(1.05); }

.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:shadow-\[0_20px_50px_rgba\(5\,150\,105\,0\.2\)\] { box-shadow: 0 20px 50px rgba(5,150,105,0.2); }
.group:hover .group-hover\:from-emerald-500 { --tw-gradient-from: #10b981; }
.group:hover .group-hover\:to-cyan-400 { --tw-gradient-to: #22d3ee; }
.group:hover .group-hover\:shadow-emerald-500\/50 { box-shadow: 0 10px 15px -3px rgba(16,185,129,0.5); }

/* ===== FOCUS ===== */
.focus\:border-ef-accent:focus { border-color: #10B981; }
.focus\:outline-none:focus { outline: none; }

/* ===== ASPECT RATIO ===== */
.aspect-video { position: relative; aspect-ratio: 16 / 9; }
.aspect-video::before { content: ""; float: left; padding-top: 56.25%; }
.aspect-video::after { content: ""; display: block; clear: both; }

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  50% { opacity: 0.5; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* ===== SCROLL ===== */
.scroll-smooth { scroll-behavior: smooth; }

/* ===== POINTER EVENTS ===== */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* ===== CURSOR ===== */
.cursor-pointer { cursor: pointer; }

/* ===== OUTLINE ===== */
.outline-none { outline: none; }

/* ===== OVERFLOW ===== */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* ===== WHITESPACE ===== */
.whitespace-nowrap { white-space: nowrap; }

/* ===== TAP HIGHLIGHT ===== */
* { -webkit-tap-highlight-color: transparent; }

/* ===== GPU COMPOSITING (anti-trincado) ===== */
.shadow-floating,
.shadow-soft,
.group,
.hover\:-translate-y-1,
.rounded-3xl,
.rounded-2xl,
.rounded-xl {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ===== BACKDROP BLUR FALLBACK ===== */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .backdrop-blur-sm,
  .backdrop-blur-md,
  .backdrop-blur-lg,
  .backdrop-blur-xl {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* ===== RESPONSIVE (sm: 640px) ===== */
@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:inline { display: inline; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:text-xs { font-size: 0.875rem; }
  .sm\:text-5xl { font-size: 3rem; }
  .sm\:w-auto { width: auto; }
  .sm\:p-12 { padding: 3rem; }
  .sm\:pb-32 { padding-bottom: 8rem; }
  .sm\:pt-56 { padding-top: 14rem; }
}

/* ===== RESPONSIVE (md: 768px) ===== */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .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\:gap-16 { gap: 4rem; }
  .md\:-translate-y-4 { transform: translateY(-1rem); }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:w-11 { width: 2.75rem; }
  .md\:h-11 { height: 2.75rem; }
  .md\:w-14 { width: 3.5rem; }
  .md\:h-14 { height: 3.5rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:max-w-5xl { max-width: 64rem; }
}

/* ===== RESPONSIVE (lg: 1024px) ===== */
@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:pt-56 { padding-top: 14rem; }
  .lg\:pb-32 { padding-bottom: 8rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:p-8 { padding: 2rem; }
  .lg\:p-10 { padding: 2.5rem; }
  .lg\:text-7xl { font-size: 4.5rem; }
  .lg\:text-2xl { font-size: 1.5rem; }
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:flex-row { flex-direction: row; }
}

/* ===== RESPONSIVE (xl: 1280px) ===== */
@media (min-width: 1280px) {
  .xl\:flex-row { flex-direction: row; }
  .xl\:w-48 { width: 12rem; }
  .xl\:w-14 { width: 3.5rem; }
  .xl\:h-14 { height: 3.5rem; }
  .xl\:p-8 { padding: 2rem; }
  .xl\:gap-8 { gap: 2rem; }
  .xl\:gap-4 { gap: 1rem; }
  .xl\:pl-6 { padding-left: 1.5rem; }
  .xl\:border-t-0 { border-top-width: 0; }
  .xl\:border-l { border-left-width: 1px; }
}

/* ===== MOBILE OVERRIDES (max-width: 767px) ===== */
@media (max-width: 767px) {
  html { scroll-padding-top: 130px; }
}

/* ===== MIN HEIGHT ===== */
html, body {
  min-height: 100%;
  min-height: -webkit-fill-available;
}
